Fix Docker build: replace yarn.lock symlink with real file
- Fixed yarn.lock symlink issue causing Docker build failures - Updated Dockerfile to use --immutable instead of deprecated --frozen-lockfile - Added Prisma client generation in Docker build - Updated .dockerignore to exclude unnecessary files - Added OpenSSL dependency for Prisma in Alpine Linux
This commit is contained in:
@@ -3,9 +3,8 @@
|
||||
node_modules
|
||||
nextjs_space/node_modules
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
|
||||
# Next.js
|
||||
# Next.js build output
|
||||
nextjs_space/.next
|
||||
.next
|
||||
|
||||
@@ -16,13 +15,15 @@ coverage
|
||||
# Misc
|
||||
.DS_Store
|
||||
*.pem
|
||||
|
||||
# Environment variables (except example)
|
||||
.env
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
# Debug
|
||||
# Debug logs
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
@@ -37,9 +38,26 @@ yarn-error.log*
|
||||
# Git
|
||||
.git
|
||||
.gitignore
|
||||
README.md
|
||||
|
||||
# Docker
|
||||
# Documentation (не нужны в образе)
|
||||
README.md
|
||||
README.deployment.md
|
||||
DATABASE.md
|
||||
DATABASE.pdf
|
||||
|
||||
# Docker files
|
||||
Dockerfile
|
||||
docker-compose.yml
|
||||
.dockerignore
|
||||
|
||||
# Scripts
|
||||
*.sh
|
||||
|
||||
# Backups
|
||||
backups/
|
||||
*.sql
|
||||
*.sql.gz
|
||||
|
||||
# Config examples
|
||||
nginx.conf.example
|
||||
traefik-config-example.yml
|
||||
|
||||
Reference in New Issue
Block a user