fix: bake schema.sql into db image to fix Coolify bind mount error
Bind mount ./schema.sql created a directory instead of file in Coolify, causing MySQL batch_readline error. Use Dockerfile.db to COPY schema directly into the image instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
FROM mysql:8.0
|
||||
COPY schema.sql /docker-entrypoint-initdb.d/schema.sql
|
||||
Reference in New Issue
Block a user