Dockerized the application.

This commit is contained in:
kirby.is.austin9@gmail.com
2025-06-18 09:02:57 +02:00
parent 1570c4dc7a
commit 5c1dc5cd15
11 changed files with 4280 additions and 735 deletions

17
frontend/nginx.conf Normal file
View File

@@ -0,0 +1,17 @@
server {
listen 80;
location /api {
proxy_pass http://backend:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
}