chore: build

This commit is contained in:
2026-06-15 21:26:29 +02:00
parent 5e37f4263c
commit 4ff4bef415
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -66,8 +66,8 @@ USER root
RUN mkdir -p /var/log/modsec /etc/nginx/certs && \
chown -R nginx:nginx /var/log/modsec /etc/nginx/certs /usr/share/nginx/html
COPY docker/backend/nginx.conf /etc/nginx/conf.d/app.conf
COPY docker/backend/custom-rules.conf /etc/nginx/modsec/custom-rules.conf
COPY docker-pre-prod/backend/nginx.conf /etc/nginx/conf.d/app.conf
COPY docker-pre-prod/backend/custom-rules.conf /etc/nginx/modsec/custom-rules.conf
RUN echo "Include /etc/nginx/modsec/custom-rules.conf" > /etc/nginx/modsec/custom-includes.conf && \
rm -f /etc/nginx/templates/conf.d/default.conf.template || true
+1 -1
View File
@@ -16,7 +16,7 @@ RUN npm run build
# =========================================================
FROM nginx:alpine AS runtime
COPY docker/frontend/nginx.conf /etc/nginx/conf.d/default.conf
COPY docker-pre-prod/frontend/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/dist /usr/share/nginx/html