Commit 8fcfaf25 authored by jcorvi's avatar jcorvi
Browse files

Update Dockerfile

parent 1670f204
Pipeline #27014 passed with stage
in 1 minute and 10 seconds
......@@ -10,7 +10,7 @@ COPY src/assets/index.template.html src/index.html
#RUN npm run build --prod
RUN ./node_modules/.bin/ng build --prod --base-href /pretox/
### STAGE 2: Run ###
FROM nginx:1.17.1-alpine
FROM nginx:1.21.6-alpine
#fix refresh
#https://makinhs.medium.com/for-some-folks-who-will-get-in-trouble-with-refresh-the-angular-page-and-get-a-404-2cf394b5dac6
RUN rm -rf /usr/share/nginx/html/* && rm -rf /etc/nginx/nginx.conf
......
Markdown is supported
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