1
0
Fork 0
mirror of https://github.com/Luzifer/mapshare.git synced 2024-12-20 14:41:19 +00:00

Fix broken Dockerfile

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-01-07 00:58:37 +01:00
parent 33436ae08e
commit 273af6a6d7
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -1,7 +1,7 @@
FROM golang:alpine as builder
COPY . /go/src/github.com/Luzifer/mapshare/frontend
WORKDIR /go/src/github.com/Luzifer/mapshare/frontend
COPY . /go/src/github.com/Luzifer/mapshare
WORKDIR /go/src/github.com/Luzifer/mapshare
RUN set -ex \
&& apk add --update git \
@ -17,11 +17,11 @@ RUN set -ex \
&& apk --no-cache add \
ca-certificates
COPY --from=builder /go/bin/frontend /usr/local/bin/frontend
COPY --from=builder /go/bin/mapshare /usr/local/bin/mapshare
EXPOSE 3000
ENTRYPOINT ["/usr/local/bin/frontend"]
ENTRYPOINT ["/usr/local/bin/mapshare"]
CMD ["--"]
# vim: set ft=Dockerfile: