1
0
mirror of https://github.com/Luzifer/mapshare.git synced 2024-09-19 15:22:58 +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 FROM golang:alpine as builder
COPY . /go/src/github.com/Luzifer/mapshare/frontend COPY . /go/src/github.com/Luzifer/mapshare
WORKDIR /go/src/github.com/Luzifer/mapshare/frontend WORKDIR /go/src/github.com/Luzifer/mapshare
RUN set -ex \ RUN set -ex \
&& apk add --update git \ && apk add --update git \
@ -17,11 +17,11 @@ RUN set -ex \
&& apk --no-cache add \ && apk --no-cache add \
ca-certificates ca-certificates
COPY --from=builder /go/bin/frontend /usr/local/bin/frontend COPY --from=builder /go/bin/mapshare /usr/local/bin/mapshare
EXPOSE 3000 EXPOSE 3000
ENTRYPOINT ["/usr/local/bin/frontend"] ENTRYPOINT ["/usr/local/bin/mapshare"]
CMD ["--"] CMD ["--"]
# vim: set ft=Dockerfile: # vim: set ft=Dockerfile: