Skip to content

Commit

Permalink
Added production dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
eagraf committed Apr 16, 2020
1 parent ff87167 commit 9ba091a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 9ba091a

Please sign in to comment.