Skip to content

Commit

Permalink
Merge pull request #67 from sakajunquality/disable-cgo
Browse files Browse the repository at this point in the history
disable cgo
  • Loading branch information
sakajunquality authored Jun 26, 2023
2 parents ec9e5f4 + 619d9fa commit 87f59df
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 @@ -9,7 +9,7 @@ COPY go.sum .
RUN go mod download

COPY . .
RUN go build -o /go/bin/server
RUN CGO_ENABLED=0 go build -o /go/bin/server

FROM run
COPY --from=build /go/bin/server /usr/local/bin/server
Expand Down

0 comments on commit 87f59df

Please sign in to comment.