The new docker-entrypoint.sh lives in scripts/, but .dockerignore was excluding the whole folder from the build context — so the COPY in the Dockerfile resolved to a missing file: COPY scripts/docker-entrypoint.sh: not found Removing the `scripts/` line lets the build context include it. The other ignored paths stay (node_modules, .next, .git, env files, Dockerfile, docker-compose, nginx, certbot, prisma dev.db) — those genuinely don't need to be sent to the daemon.
This commit is contained in:
@@ -10,7 +10,6 @@ docker-compose*.yml
|
|||||||
Dockerfile
|
Dockerfile
|
||||||
nginx/
|
nginx/
|
||||||
certbot/
|
certbot/
|
||||||
scripts/
|
|
||||||
prisma/dev.db
|
prisma/dev.db
|
||||||
prisma/dev.db-journal
|
prisma/dev.db-journal
|
||||||
prisma/migrations/migration_lock.toml
|
prisma/migrations/migration_lock.toml
|
||||||
|
|||||||
Reference in New Issue
Block a user