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