Patch vite allowedHosts at container startup
This commit is contained in:
parent
238a639b01
commit
c20d293e5f
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,8 @@ services:
|
|||
expose:
|
||||
- "3000"
|
||||
- "5001"
|
||||
command: >
|
||||
sh -c "sed -i 's/server: {/server: { allowedHosts: true,/' /app/frontend/vite.config.js && npm run dev"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./backend/uploads:/app/backend/uploads
|
||||
Loading…
Reference in a new issue