mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
add nginx config
This commit is contained in:
@@ -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/
|
||||
@@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
}
|
||||
Generated
+32903
-667
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user