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:
parent
8890542f5e
commit
6918f45e34
3 changed files with 55 additions and 0 deletions
|
@ -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;"]
|
Loading…
Add table
Add a link
Reference in a new issue