fix
This commit is contained in:
parent
55959ce22d
commit
53827a8277
|
|
@ -1,5 +1,3 @@
|
||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: node:22-alpine
|
image: node:22-alpine
|
||||||
|
|
@ -15,7 +13,7 @@ services:
|
||||||
- DB_NAME=${POSTGRES_DB}
|
- DB_NAME=${POSTGRES_DB}
|
||||||
- DB_USER=${POSTGRES_USER}
|
- DB_USER=${POSTGRES_USER}
|
||||||
- DB_PASSWORD=${POSTGRES_PASSWORD}
|
- DB_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
command: sh -c "npm install && npm run build --omit=dev && node dist/src/main.js"
|
command: sh -c "npm install && npm install @nestjs/cli && npm run build --omit=dev && node dist/src/main.js"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue