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:
@@ -1,3 +1,4 @@
|
||||
node_modules
|
||||
coverage
|
||||
.git
|
||||
.gitignore
|
||||
@@ -11,3 +12,5 @@ test
|
||||
*.spec.ts
|
||||
.pgdata
|
||||
.tools
|
||||
dist-docker
|
||||
src
|
||||
|
||||
Reference in New Issue
Block a user