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
|
||||
volumes:
|
||||
- .:/var/www/html
|
||||
command: sh -c "npm install && npm run dev"
|
||||
command: sh -c "sleep 5 && npm install && npm run dev"
|
||||
ports:
|
||||
- "5173:5173"
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user