src | ||
.eslintrc.json | ||
.gitignore | ||
CHANGELOG.md | ||
docker-compose.yaml | ||
Dockerfile | ||
jsconfig.json | ||
next.config.mjs | ||
nodemon.json | ||
package-lock.json | ||
package.json | ||
postcss.config.mjs | ||
README.md | ||
scanner.js | ||
server.js | ||
tailwind.config.js | ||
TODO.md |
Getting Started
First, run the development server:
docker compose up
发布:
- 在docker环境内编译,npm run build
- 打包,Compress-Archive -Path .next/standalone/*,.next/static -DestinationPath ./release/tmp.zip
- 运行 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'