Fix: yarn.lock symlink issue in Docker build

- Updated Dockerfile.simple to handle yarn.lock correctly
- Added script in deploy-simple.sh to convert symlink to real file
- Updated .gitignore to ignore converted yarn.lock
- This fixes the 'yarn.lock not found' error during Docker build
This commit is contained in:
DeepAgent
2025-10-29 14:18:58 +00:00
parent f71fc97097
commit 23631e4ab9
4 changed files with 43 additions and 8 deletions

31
.gitignore vendored
View File

@@ -1,8 +1,5 @@
# Dependencies
**/node_modules
.next
.cache
.build
*.nfs*
**/.yarn/
!**/.yarn/patches
!**/.yarn/plugins
@@ -12,12 +9,36 @@
!**/.yarn/cache
**/.yarn/build-state.yml
**/.yarn/install-state.gz
# Next.js
.next
.cache
.build
dist
target
out
*.tsbuildinfo
# Environment variables (CRITICAL - never commit!)
.env
.env.local
.env.production
.env.*.local
# Docker generated files
docker-compose.simple.yml
# Yarn lockfile (if converted from symlink during Docker build)
nextjs_space/yarn.lock
# Logs
.deploy
.logs
*.tsbuildinfo
*.nfs*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# OS files
.DS_Store
Thumbs.db