mirror of
https://github.com/drawdb-io/drawdb
synced 2024-11-23 08:02:05 +00:00
commit
e99f5a1692
16
compose.yml
Normal file
16
compose.yml
Normal file
@ -0,0 +1,16 @@
|
||||
services:
|
||||
drawdb:
|
||||
image: node:20-alpine
|
||||
container_name: drawdb
|
||||
ports:
|
||||
- 5173:5173
|
||||
working_dir: /var/www/html
|
||||
volumes:
|
||||
- ./:/var/www/html
|
||||
command: sh -c "npm install && npm run dev:docker"
|
||||
networks:
|
||||
- default
|
||||
|
||||
networks:
|
||||
default:
|
||||
driver: bridge
|
@ -5,6 +5,7 @@
|
||||
"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