Last active
September 29, 2018 09:19
-
-
Save viettranx/6f2b85166d3e7772c73872176f6535a1 to your computer and use it in GitHub Desktop.
A Dockerfile to build and run a very simple web application
This file contains 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 demoApp . | |
CMD ["/app/demoApp"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment