Last active
July 31, 2019 01:31
-
-
Save monirz/253d5e77f184140a77dc2a1a92814dda to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.12 | |
ENV GO111MODULE=on | |
ENV PORT=9000 | |
WORKDIR /app/server | |
COPY go.mod . | |
COPY go.sum . | |
RUN go mod download | |
COPY . . | |
RUN go build | |
CMD ["./server"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment