Skip to content

Commit c9ecc13

Browse files
authored
fix: set CGO_ENABLED=0 (#52)
1 parent 89a72ab commit c9ecc13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN go mod download
1010

1111
COPY internal ./internal
1212
COPY main.go ./
13-
RUN go build -o /backend
13+
RUN CGO_ENABLED=0 go build -o /backend
1414

1515
# Build final image
1616
FROM scratch

0 commit comments

Comments
 (0)