Skip to content

Instantly share code, notes, and snippets.

@dipeshhkc
Last active May 22, 2021 10:04
Show Gist options
  • Save dipeshhkc/cf70346b4f71df627b9d8b5da27b18cc to your computer and use it in GitHub Desktop.
Save dipeshhkc/cf70346b4f71df627b9d8b5da27b18cc to your computer and use it in GitHub Desktop.
FROM golang:alpine
WORKDIR /golang-docker
ADD . .
RUN go mod download
RUN go get github.com/githubnemo/CompileDaemon
ENTRYPOINT CompileDaemon -command="./golang-docker"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment