Adjust Dockerfile.

This commit is contained in:
Ben Binder
2025-02-24 01:15:42 -06:00
parent a84340c982
commit dd9c025b53

View File

@@ -14,7 +14,7 @@ RUN go mod download
COPY . .
# Build the application
RUN go build -o harbormaster .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o harbormaster .
# Use a small base image for the final container
FROM alpine:latest