Reduce nginx container log noise
All checks were successful
test-build-publish / docker (push) Successful in 1m41s

This commit is contained in:
Space-Banane
2026-05-14 19:12:33 +02:00
parent cb0d381eb0
commit 263169a7f0

View File

@@ -13,6 +13,7 @@ COPY . .
RUN npm run build RUN npm run build
FROM nginx:1.27-alpine FROM nginx:1.27-alpine
RUN sed -i 's#error_log /var/log/nginx/error.log notice;#error_log /var/log/nginx/error.log warn;#' /etc/nginx/nginx.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80 EXPOSE 80