diff --git a/Dockerfile b/Dockerfile index 515cf1a..65995b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,6 @@ FROM golang:1.20.4-bullseye as builder ARG TARGETARCH ARG TARGETOS -LABEL org.opencontainers.image.source=https://github.com/aunefyren/wrapperr - -ENV port=8282 - WORKDIR /app COPY . . @@ -15,6 +11,8 @@ RUN GO111MODULE=on CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build FROM debian:bullseye-slim as runtime +ENV port=8282 + LABEL org.opencontainers.image.source=https://github.com/aunefyren/wrapperr WORKDIR /app