forgot prod build tag
This commit is contained in:
parent
ecb42207f1
commit
f06feffb9e
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ COPY . .
|
|||
# Build the Go binary for Linux
|
||||
RUN CGO_ENABLED=0 GOPRIVATE=github.com/maddalax LOG_LEVEL=debug go run github.com/maddalax/htmgo/cli/htmgo@8b816e956692683337d9fff6416ccc31f5047b59 build
|
||||
|
||||
RUN CGO_ENABLED=1 GOOS=linux go build -o ./dist -a -ldflags '-linkmode external -extldflags "-static"' .
|
||||
RUN CGO_ENABLED=1 GOOS=linux go build -tags prod -o ./dist -a -ldflags '-linkmode external -extldflags "-static"' .
|
||||
|
||||
|
||||
# Stage 2: Create the smallest possible image
|
||||
|
|
|
|||
Loading…
Reference in a new issue