conf: docker

This commit is contained in:
2026-07-01 20:46:08 +07:00
parent f1858f8f0f
commit 7bdea785f9
3 changed files with 14 additions and 5 deletions
+11 -1
View File
@@ -9,7 +9,7 @@ services:
volumes:
- ..:/var/www/html
env_file:
- ./env/.env.app
- ../.env
networks:
- thankcard-system-network
extra_hosts:
@@ -28,6 +28,16 @@ services:
networks:
- thankcard-system-network
node:
image: node:20-alpine
container_name: thankcard-system-node
working_dir: /var/www/html
volumes:
- ..:/var/www/html
command: sh -c "npm install && npm run build"
networks:
- thankcard-system-network
networks:
thankcard-system-network:
name: thankcard-system-network