add nginx config

This commit is contained in:
Evandre Da Silva
2022-06-07 13:38:45 +01:00
parent 26bea32384
commit 8d0234e439
3 changed files with 32915 additions and 667 deletions
+1
View File
@@ -9,5 +9,6 @@ COPY ./ /app/
RUN ionic build --prod
FROM nginx:alpine
COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf
RUN rm -rf /usr/share/nginx/html/*
COPY --from=build /app/www/ /usr/share/nginx/html/