6 lines
248 B
Docker
6 lines
248 B
Docker
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
|