mirror of
https://github.com/drawdb-io/drawdb
synced 2024-11-21 06:49:20 +00:00
Expose host directly in compose
This commit is contained in:
parent
e99f5a1692
commit
5020509626
@ -7,7 +7,7 @@ services:
|
||||
working_dir: /var/www/html
|
||||
volumes:
|
||||
- ./:/var/www/html
|
||||
command: sh -c "npm install && npm run dev:docker"
|
||||
command: sh -c "npm install && npm run dev -- --host"
|
||||
networks:
|
||||
- default
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"dev:docker": "vite --host",
|
||||
"build": "vite build",
|
||||
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
|
||||
"preview": "vite preview"
|
||||
|
Loading…
Reference in New Issue
Block a user