Created
February 24, 2020 21:37
-
-
Save brachi-wernick/17487c152ce0c641816dccec60dc9665 to your computer and use it in GitHub Desktop.
go docker file
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:latest | |
RUN mkdir /app | |
ADD . /app/ | |
WORKDIR /app | |
RUN go build -o my_app . | |
EXPOSE 8099 | |
CMD ["/app/my_app"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment