SEMS-on-device-server/README.md

12 lines
428 B
Markdown
Raw Normal View History

2024-09-11 19:06:44 +08:00
## Getting Started
First, run the development server:
```bash
docker compose up
2024-09-12 18:48:25 +08:00
```
发布:
1. 在docker环境内编译npm run build
2. 打包Compress-Archive -Path .next/standalone/*,.next/static -DestinationPath ./release/tmp.zip
3. 运行 docker run -p 4000:3000 -v C:\SEMS-development\SEMS-on-device-server\release:/app sems-on-device-server-server:latest sh -c 'ln -snf /env/node_modules /app && npm run start'