improving security on nginx

This commit is contained in:
2025-11-26 12:30:02 +02:00
parent acb6ff7814
commit 0d60e6c636
2 changed files with 71 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ FROM nginx:1.25.2-alpine
# copy the info of the builded web app to nginx
COPY --from=build-env /app/build/web /usr/share/nginx/html
# Expose and run nginx
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]