conf: docker
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user