fix: COPY init.sql into DB image, remove Next.js basePath for Traefik prefix stripping

This commit is contained in:
Monarch055
2026-06-11 09:43:16 +07:00
parent 7e373a28a1
commit 42f06c1128
5 changed files with 20 additions and 13 deletions
+5
View File
@@ -0,0 +1,5 @@
FROM mysql:8.0
# Copy the SQL initialization script into the MySQL entrypoint directory.
# MySQL will automatically run all .sql files here on first startup (when data volume is empty).
COPY docker/db/init.sql /docker-entrypoint-initdb.d/init.sql