Optimize deployment and improve package.json

This commit is contained in:
2025-08-23 21:55:21 +03:00
Unverified
parent 91e815029e
commit 1fa1178397
4 changed files with 47 additions and 3 deletions
+18
View File
@@ -9,6 +9,13 @@ services:
- "8300:8300"
volumes:
- "data:/app/data"
develop:
watch:
- action: sync+restart
path: ../backend
target: /app
- action: rebuild
path: ../backend/requirements.txt
frontend:
build:
@@ -19,6 +26,17 @@ services:
BACKEND_HOST: http://backend:8300
ports:
- "8301:8301"
depends_on:
- backend
develop:
watch:
- action: rebuild
path: ../frontend
- action: sync+restart
path: server.js
target: /server/server.js
- action: rebuild
path: package.json
volumes:
data: