Deploy via committed dist: local Nest build, server runs with .env

Build on the developer machine without Docker, commit dist/, and run on the server with Dockerfile.dist plus compose env_file.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-05 21:35:22 +03:30
co-authored by Cursor
parent 67cfc17079
commit cbcea58e94
199 changed files with 10895 additions and 4 deletions
+3 -2
View File
@@ -11,8 +11,9 @@
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"start:prod": "node dist/main.js",
"build:deploy": "bash scripts/build-local-dist.sh",
"docker:dist": "docker compose -f docker-compose.dist.yml up -d --build",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",