增加docker-compose文件,不用手动导入数据库了,方便开发

This commit is contained in:
bzh
2020-05-09 12:16:28 +08:00
parent 9d0309489c
commit bf1c3a385a
6 changed files with 712 additions and 675 deletions

View File

@ -0,0 +1,7 @@
FROM mysql:5.7
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
COPY ./sql/*.sql /usr/local/work/
COPY ./sql/shell_mysql.sh /docker-entrypoint-initdb.d