We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 267a56c commit a490b81Copy full SHA for a490b81
Dockerfile
@@ -12,11 +12,10 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o api backend/cmd/api/main.go
12
13
FROM nginx:1-alpine AS node_final
14
15
-RUN sed -i 'lidaemon off;' /etc/nginx/nginx.conf
16
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
17
COPY --from=node_builder /src/dist/ /app
18
19
-CMD ["nginx"]
+CMD ["nginx", "-g", "daemon off;"]
20
21
FROM gcr.io/distroless/static-debian12 AS go_final
22
0 commit comments