Skip to content

Commit

Permalink
Mount node_modules to volume to speed up UI build
Browse files Browse the repository at this point in the history
  • Loading branch information
st-matskevich committed Sep 26, 2023
1 parent 25ed45f commit 4f81382
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
restart: on-failure
volumes:
- ./ui:/app
- /app/node_modules
- tg-bot-ui:/app/node_modules
build:
context: ./ui
dockerfile: dev.dockerfile
Expand All @@ -43,4 +43,5 @@ services:
restart: on-failure
command: ["http", "--domain=${NGROK_DOMAIN}", "dev-proxy:3000", "--log=stdout"]


volumes:
tg-bot-ui:

0 comments on commit 4f81382

Please sign in to comment.