feat(prod): production stage for frontend

This commit is contained in:
Leons Aleksandrovs
2025-07-13 21:37:56 +03:00
parent 60ce25e95c
commit 6d13680e99
9 changed files with 45 additions and 37 deletions
+8 -1
View File
@@ -5,9 +5,16 @@
:8080 {
encode
reverse_proxy frontend:3000
# Proxy to backend
handle_path /api* {
reverse_proxy backend:8080
}
# Server static files
handle_path /* {
root * /app
try_files {path} /index.html
file_server
}
}