Skip to content

Instantly share code, notes, and snippets.

@brachi-wernick
Created February 24, 2020 21:37
Show Gist options
  • Save brachi-wernick/17487c152ce0c641816dccec60dc9665 to your computer and use it in GitHub Desktop.
Save brachi-wernick/17487c152ce0c641816dccec60dc9665 to your computer and use it in GitHub Desktop.
go docker file
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