chore: nginx configuratie toegevoed

nginx geconfigureerd en via docker gekopiëerd, SSL ingesteld en volume voor gemaakt in docker compose zodat de certificates op de server gevonden worden door docker
This commit is contained in:
Timo De Meyst 2025-03-09 22:30:43 +01:00
parent 8890542f5e
commit 6918f45e34
3 changed files with 55 additions and 0 deletions

View file

@ -10,6 +10,8 @@ RUN npm run build
# production stage
FROM nginx:stable AS production-stage
COPY ./nginx/nginx.conf /etc/nginx/
COPY --from=build-stage /app/frontend/dist /usr/share/nginx/html
EXPOSE 80
EXPOSE 443
CMD ["nginx", "-g", "daemon off;"]