This commit is contained in:
xxx
2023-09-06 13:56:24 +08:00
parent db9d66b099
commit be70e8e5fd
7 changed files with 33 additions and 462 deletions

View File

@@ -8,9 +8,6 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ >/etc/timezone &&
# 复制自定义的my.cnf
COPY my.cnf /etc/mysql/conf.d/my.cnf
# 初始化数据库
COPY docker-entrypoint-initdb.d /docker-entrypoint-initdb.d
# my.cnf只读权限
RUN chmod 0444 /etc/mysql/conf.d/my.cnf