This commit is contained in:
2026-02-18 19:31:47 +01:00
parent c3d1dcab4c
commit 658a70f3ac
4 changed files with 8 additions and 5 deletions

View File

@@ -12,12 +12,11 @@ RUN npm ci
COPY . .
RUN npm run build
# Production stage
FROM nginx:alpine
FROM nginxinc/nginx-unprivileged:alpine-slim
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"]