Skip to content

Instantly share code, notes, and snippets.

@viettranx
Last active September 29, 2018 09:19
Show Gist options
  • Save viettranx/6f2b85166d3e7772c73872176f6535a1 to your computer and use it in GitHub Desktop.
Save viettranx/6f2b85166d3e7772c73872176f6535a1 to your computer and use it in GitHub Desktop.
A Dockerfile to build and run a very simple web application
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