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/
+11
View File
@@ -0,0 +1,11 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri /index.html;
}
}
+32903 -667
View File
File diff suppressed because it is too large Load Diff