Fix the image

This commit is contained in:
Nikolai Rodionov 2024-03-19 17:12:24 +01:00
parent ae3552f865
commit 3182165f9a
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -5,8 +5,8 @@ COPY go.mod ./
COPY go.sum ./
RUN go mod download
COPY . ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /app
RUN CGO_ENABLED=0 GOOS=linux go build -o backend
FROM scratch
COPY --from=0 /app /app
COPY --from=0 /app/backend /app
CMD ["/app"]