Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: WofWca <wofwca@protonmail.com>
This commit is contained in:
akiel 2024-11-17 15:23:05 +00:00
parent a16403dcd1
commit 4008e7bb00

View file

@ -1,12 +1,11 @@
FROM docker.io/library/golang:latest AS build
COPY go.mod /app/go.mod
COPY go.sum /app/go.sum
WORKDIR /app/
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . /app
COPY . ./
WORKDIR /app/proxy
RUN CGO_ENABLED=0 go build -o proxy -ldflags '-extldflags "-static" -w -s' .