Deploy is back to the flow that worked: build dist locally, push, then on the server only `git pull` + `docker compose up -d --build`. The Dockerfile now also takes prisma/ and package.json from git and runs `prisma generate`, so schema and migration changes ship without rebuilding the 120MB node_modules bundle. Removes the prebuilt compose path, which could never work on a server without npm. Co-authored-by: Cursor <cursoragent@cursor.com>
51 lines
601 B
Plaintext
51 lines
601 B
Plaintext
# compiled output — dist را برای دیپلوی روی گیت میفرستیم
|
|
# /dist
|
|
/dist-docker
|
|
/node_modules
|
|
/build
|
|
/generated
|
|
.deploy-pack
|
|
server-runtime.tgz
|
|
|
|
# logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
pnpm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
lerna-debug.log*
|
|
|
|
# OS
|
|
.DS_Store
|
|
|
|
# tests
|
|
/coverage
|
|
/.nyc_output
|
|
|
|
# IDEs
|
|
.idea
|
|
.project
|
|
.classpath
|
|
.c9/
|
|
*.launch
|
|
.settings/
|
|
*.sublime-workspace
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
!.vscode/extensions.json
|
|
|
|
# env
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# local postgres data if any
|
|
.pgdata
|
|
.tools
|
|
|
|
# misc
|
|
*.tsbuildinfo
|