Update Dockerfile

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-07-23 00:55:51 +02:00
parent 68c8800c62
commit 38345155d0
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

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