Updated docker-compose.yml to add delay to vite service startup
This commit is contained in:
@@ -42,7 +42,7 @@ services:
|
|||||||
working_dir: /var/www/html
|
working_dir: /var/www/html
|
||||||
volumes:
|
volumes:
|
||||||
- .:/var/www/html
|
- .:/var/www/html
|
||||||
command: sh -c "npm install && npm run dev"
|
command: sh -c "sleep 5 && npm install && npm run dev"
|
||||||
ports:
|
ports:
|
||||||
- "5173:5173"
|
- "5173:5173"
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user