使用 Prisma 和 PostgreSQL 将 NestJS 应用 Docker 化
DON'T commit .env files into version control, add
.envto.gitignore..envfiles are added here as an example.
Develop the Nest application
npm install
cp .env.example .env
npx prisma generate
npm run start:devGet started by running
docker build -t nest-api .
docker run -p 3000:3000 --env-file .env -d nest-apidocker-compose up
# or detached
docker-compose up -d暂无开放 Issues,或尚未同步最近议题。