mirror of
https://github.com/aunefyren/wrapperr
synced 2024-11-30 23:09:10 +00:00
Update Dockerfile
This commit is contained in:
parent
ae1702cc48
commit
773347225e
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue