Skip to content

Commit

Permalink
docker build CGO_ENABLED=0
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrisbie authored Feb 3, 2022
1 parent 18e49e4 commit 58cc948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY main.go ./
COPY pkg ./pkg

# build binary
RUN go build -o /gowordle
RUN CGO_ENABLED=0 go build -o /gowordle

###
# Stage 2: Copy binary into small image
Expand Down

0 comments on commit 58cc948

Please sign in to comment.