This commit is contained in:
markliu2013 2023-06-13 08:43:35 +08:00
parent ae42374dc6
commit f925e3ca73

View File

@ -8,6 +8,9 @@ COPY my.cnf /etc/mysql/conf.d/my.cnf
COPY init.sql /data/1.sql
RUN chmod 0444 /etc/mysql/conf.d/my.cnf
RUN chmod 0444 /data/1.sql
RUN chown $(whoami) /data/1.sql
RUN chgrp $(whoami) /data/1.sql
CMD ["mysqld"]