enable cgo

This commit is contained in:
talksik
2023-10-01 14:30:06 -07:00
parent 11198392bc
commit 8038ce9f3e
+1 -1
View File
@@ -2,7 +2,7 @@ FROM golang:1.21 AS builder
COPY / /app
WORKDIR /app/cmd
RUN CGO_ENABLED=0 GOOS=linux go build -o main
RUN CGO_ENABLED=1 GOOS=linux go build -o main
FROM alpine:latest AS production
WORKDIR /