diff --git a/Dockerfile.prod b/Dockerfile.prod new file mode 100644 index 0000000..908770e --- /dev/null +++ b/Dockerfile.prod @@ -0,0 +1,14 @@ +FROM golang:1.13 + +WORKDIR /go/src/github.com/eagraf/synchronizer +COPY . . + +RUN go get -d -v ./... +RUN go install -v ./... + +RUN go build + +EXPOSE 2216:2216 + +#ENTRYPOINT CompileDaemon -recursive=true -log-prefix=false -build="go build" -command="./synchronizer" +CMD ["synchronizer"] \ No newline at end of file