diff --git a/examples/chat/Dockerfile b/examples/chat/Dockerfile index c336569..5f9bc42 100644 --- a/examples/chat/Dockerfile +++ b/examples/chat/Dockerfile @@ -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