mirror of
https://github.com/hexastack/hexabot
synced 2025-04-27 09:49:42 +00:00
Merge pull request #56 from Hexastack/hotfix/dev-compose-file-2
fix: docker compose force build in dev env
This commit is contained in:
commit
1ece819899
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user