gothub/Dockerfile

8 lines
133 B
Docker
Raw Normal View History

2022-11-30 03:34:15 +05:30
FROM golang:1.19.3-alpine
WORKDIR /gothub
COPY . .
RUN go mod download
RUN go build .
CMD ["/bin/sh", "-c", "./gothub"]
EXPOSE 3000