Update Dockerfile

This commit is contained in:
aunefyren 2023-12-20 16:52:17 +01:00
parent ae1702cc48
commit 773347225e

View file

@ -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