Adjust Dockerfile.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user