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:
parent
33436ae08e
commit
273af6a6d7
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue