docker file + nginx config

This commit is contained in:
nquidox 2025-10-01 11:04:11 +03:00
parent 2249775e2a
commit 30198b3e5c
2 changed files with 23 additions and 0 deletions

6
Dockerfile Normal file
View file

@ -0,0 +1,6 @@
FROM nginx:alpine
COPY dist/ /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 9080

17
nginx.conf Normal file
View file

@ -0,0 +1,17 @@
events {}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
server {
listen 9080;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
}
}