Is it possible to make define privileges for the MySQL server when you build from a dockerfile?
EDIT: Edited the title to ask how, and not if it is possible
in the Dockerfile
COPY ./init.sql /docker-entrypoint-initdb.d/
according to section "Initializing a fresh instance" in https://hub.docker.com/_/mysql/