Fix dockerfile
This commit is contained in:
parent
30742983e6
commit
0517c2ef75
|
@ -1,12 +1,12 @@
|
||||||
FROM golang:alpine AS build-env
|
FROM golang:alpine AS build-env
|
||||||
WORKDIR ${GOPATH}/src/kolaente.dev/konrad/reactorrrrrrrr
|
WORKDIR ${GOPATH}/src/kolaente.dev/konrad/discord-kaenguru
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /go/bin/reactorrrrrrrr
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /go/bin/discord-kaenguru
|
||||||
|
|
||||||
# The actual image
|
# The actual image
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|
||||||
COPY --from=build-env /go/bin/reactorrrrrrrr /reactorrrrrrrr
|
COPY --from=build-env /go/bin/discord-kaenguru /discord-kaenguru
|
||||||
COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||||
|
|
||||||
ENTRYPOINT ["/reactorrrrrrrr"]
|
ENTRYPOINT ["/discord-kaenguru"]
|
||||||
|
|
Loading…
Reference in New Issue