Skip to content

Instantly share code, notes, and snippets.

@viettranx
Last active September 29, 2018 09:19
Show Gist options
  • Select an option

  • Save viettranx/6f2b85166d3e7772c73872176f6535a1 to your computer and use it in GitHub Desktop.

Select an option

Save viettranx/6f2b85166d3e7772c73872176f6535a1 to your computer and use it in GitHub Desktop.

Revisions

  1. viettranx created this gist Sep 29, 2018.
    6 changes: 6 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    FROM golang:latest
    RUN mkdir /app
    ADD . /app/
    WORKDIR /app
    RUN go build -o demoApp .
    CMD ["/app/demoApp"]