Merge pull request #56 from Hexastack/hotfix/dev-compose-file-2

fix: docker compose force build in dev env
This commit is contained in:
Mohamed Marrouchi 2024-09-21 06:45:18 +01:00 committed by GitHub
commit 1ece819899
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@ services:
database-init: database-init:
build: build:
context: ../api context: ../api
pull_policy: build
volumes: volumes:
- ../api/src:/app/src - ../api/src:/app/src
- ../api/migrations:/app/migrations - ../api/migrations:/app/migrations
@ -12,6 +13,7 @@ services:
api: api:
build: build:
context: ../api context: ../api
pull_policy: build
ports: ports:
- ${API_PORT}:3000 - ${API_PORT}:3000
- 9229:9229 # vscode debug port - 9229:9229 # vscode debug port
@ -39,11 +41,13 @@ services:
build: build:
context: ../ context: ../
dockerfile: ./frontend/Dockerfile dockerfile: ./frontend/Dockerfile
pull_policy: build
widget: widget:
build: build:
context: ../widget context: ../widget
target: development target: development
pull_policy: build
volumes: volumes:
- ../widget/src:/app/src - ../widget/src:/app/src
ports: ports: