fix(nginx): add SPA routing and security headers

This commit is contained in:
2026-07-27 10:21:06 +00:00
parent 4592338fdf
commit 2cf60fa522
3 changed files with 52 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ FROM nginx:alpine
RUN apk update && apk upgrade --no-cache
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Nginx default listen 80
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]