Skip to content
Snippets Groups Projects
Commit 6eeadf79 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

add default nginx conf

parent 25a31dc3
No related branches found
No related tags found
1 merge request!7K8s deploy
Pipeline #111441 canceled with stages
in 2 minutes and 41 seconds
...@@ -48,5 +48,6 @@ RUN npm run generate ...@@ -48,5 +48,6 @@ RUN npm run generate
### STAGE: NGINX ### ### STAGE: NGINX ###
FROM nginxinc/nginx-unprivileged:1.25 FROM nginxinc/nginx-unprivileged:1.25
# RUN rm -rf /usr/share/nginx/html/* # RUN rm -rf /usr/share/nginx/html/*
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=generate /usr/src/app/.output/public /usr/share/nginx/html COPY --from=generate /usr/src/app/.output/public /usr/share/nginx/html
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment