Files
James Newman 96b4c8f931 init repo
2024-06-12 12:44:00 +01:00

12 lines
143 B
Docker

FROM golang:1.22
WORKDIR /app
COPY main.go ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /hello-world
EXPOSE 8080
# Run
CMD ["/hello-world"]