upload to github
This commit is contained in:
commit
92cc81e813
51 changed files with 8041 additions and 0 deletions
18
docker-compose.yaml
Normal file
18
docker-compose.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
dev:
|
||||
image: node:alpine
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./:/app
|
||||
ports:
|
||||
- "${VITE_PORT}:${VITE_PORT}"
|
||||
command: sh -c "npm install && npm run dev"
|
||||
|
||||
build:
|
||||
image: node:alpine
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./:/app
|
||||
command: sh -c "rm -rf dist/ && npm install && npm run build-only"
|
||||
Loading…
Add table
Add a link
Reference in a new issue