Commit 319a8a51 authored by daidekun's avatar daidekun

fixbugs

parent 8466d03e
...@@ -13,7 +13,6 @@ RUN mkdir -p sql_to_run ...@@ -13,7 +13,6 @@ RUN mkdir -p sql_to_run
COPY my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf COPY my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf
COPY mysqld_charset.cnf /etc/mysql/conf.d/mysqld_charset.cnf COPY mysqld_charset.cnf /etc/mysql/conf.d/mysqld_charset.cnf
COPY ./sql_to_run/0-init_user_and_db.sql ./sql_to_run/
#把要执行的shell文件放到/docker-entrypoint-initdb.d/目录下,容器会自动执行这个shell #把要执行的shell文件放到/docker-entrypoint-initdb.d/目录下,容器会自动执行这个shell
COPY ./init_db_data.sh $AUTO_RUN_DIR/ COPY ./init_db_data.sh $AUTO_RUN_DIR/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment