[chore] Improvements in docker structure

This commit is contained in:
ITQ
2024-04-01 14:06:30 +03:00
parent b88ae25d67
commit 0fa37bf7fc
6 changed files with 71 additions and 45 deletions
-2
View File
@@ -15,5 +15,3 @@ RUN npm run build
FROM nginx:stable-alpine3.17-slim
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
-9
View File
@@ -1,9 +0,0 @@
server {
listen 3000;
location / {
root /usr/share/nginx/html/;
include /etc/nginx/mime.types;
try_files $uri $uri/ /index.html;
}
}