Update Dockerfile

This commit is contained in:
Aune 2023-02-13 09:19:11 +01:00 committed by GitHub
parent 5e1204ac4f
commit 7d3ea26bcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,14 +7,15 @@ LABEL org.opencontainers.image.source=https://github.com/aunefyren/wrapperr
ENV port=8282
ENV GO111MODULE=on
ENV GOOS=${TARGETOS}
ENV GOARCH=${TARGETARCH}
WORKDIR /app
COPY . .
RUN export GO111MODULE=on
RUN export CGO_ENABLED=0
RUN export GOOS=${TARGETOS}
RUN export GOARCH=${TARGETARCH}
RUN go build
# CGO_ENABLED=0