mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-27 12:11:56 +08:00
dockerfile add 命令无法复制,导致没有初始化数据库。
使用数据卷来关联目录 Signed-off-by: 云飞扬 <15678871232@qq.com>
This commit is contained in:
@@ -2,6 +2,3 @@
|
||||
FROM mysql:5.7
|
||||
# author
|
||||
MAINTAINER ruoyi
|
||||
|
||||
# 执行sql脚本
|
||||
ADD ./db/*.sql /docker-entrypoint-initdb.d/
|
||||
|
||||
Reference in New Issue
Block a user