remove CGO_ENABLED=0 & introduce compose file

This commit is contained in:
m5r
2024-07-20 03:18:49 +02:00
parent b97b2f2131
commit c3220327e1
4 changed files with 22 additions and 5 deletions

View File

@ -4,7 +4,7 @@ WORKDIR /app
COPY . .
RUN go mod download
RUN CGO_ENABLED=0 go build -o /app/local-ip
RUN go build -o /app/local-ip
FROM gcr.io/distroless/base-debian12:latest