Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

#47 frontend-dev runs yarn install on docker-compose up #57

Merged
merged 2 commits into from
Mar 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@ services:
context: ./frontend
ports:
- "3000:3000"
command: yarn start
volumes:
- ./frontend:/app
working_dir: /app
command: >
bash -c "
yarn install &&
yarn start
"

restart: unless-stopped

# old_worker:
Expand Down
4 changes: 0 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ services:
- app
ports:
- "80:80"
volumes:
- ./frontend:/app
- /app/node_modules/
working_dir: /app
env_file:
- ./.env
restart: unless-stopped
Expand Down