Merge branch 'master' of https://github.com/hacdias/filemanager
commit
537c839d9e
|
@ -9,10 +9,13 @@ RUN go get ./...
|
||||||
WORKDIR /go/src/github.com/hacdias/filemanager/cmd/filemanager
|
WORKDIR /go/src/github.com/hacdias/filemanager/cmd/filemanager
|
||||||
RUN go install
|
RUN go install
|
||||||
|
|
||||||
|
FROM alpine:latest
|
||||||
|
COPY --from=0 /go/bin/filemanager /usr/local/bin/filemanager
|
||||||
|
|
||||||
VOLUME /srv
|
VOLUME /srv
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
COPY Docker.json /etc/config.json
|
COPY Docker.json /etc/config.json
|
||||||
|
|
||||||
ENTRYPOINT ["/go/bin/filemanager"]
|
ENTRYPOINT ["/usr/local/bin/filemanager"]
|
||||||
CMD ["--config", "/etc/config.json"]
|
CMD ["--config", "/etc/config.json"]
|
||||||
|
|
Loading…
Reference in New Issue