增加docker-compose文件,不用手动导入数据库了,方便开发
This commit is contained in:
7
ruoyi/deploy/db/Dockerfile
Normal file
7
ruoyi/deploy/db/Dockerfile
Normal 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
|
Reference in New Issue
Block a user