pull/166/head
Henrique Dias 2017-07-28 09:59:36 +01:00
commit 537c839d9e
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
1 changed files with 4 additions and 1 deletions

View File

@ -9,10 +9,13 @@ RUN go get ./...
WORKDIR /go/src/github.com/hacdias/filemanager/cmd/filemanager
RUN go install
FROM alpine:latest
COPY --from=0 /go/bin/filemanager /usr/local/bin/filemanager
VOLUME /srv
EXPOSE 80
COPY Docker.json /etc/config.json
ENTRYPOINT ["/go/bin/filemanager"]
ENTRYPOINT ["/usr/local/bin/filemanager"]
CMD ["--config", "/etc/config.json"]