proj: switch to secure connection

This commit is contained in:
2026-06-28 17:40:07 +02:00
parent 2bb5125254
commit 81ddf048ca
9 changed files with 903 additions and 9 deletions
+7 -3
View File
@@ -7,7 +7,11 @@ COPY . .
RUN npm run build
# Serve stage
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
FROM node:20-alpine
WORKDIR /app
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/package*.json ./
RUN npm install --production
COPY server.js .
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["npm", "start"]