Switch to Nixpacks

This commit is contained in:
2024-04-02 18:47:53 -06:00
parent 4eeeb39506
commit 8a944a1e31
2 changed files with 0 additions and 29 deletions

View File

@ -1,14 +0,0 @@
FROM golang:1.22.0 as build
WORKDIR /app
COPY . .
RUN go mod download
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /go/bin/app
FROM gcr.io/distroless/base-debian12
COPY --from=build /go/bin/app /
CMD [ "/app" ]