添加 'worker/mysql-Dockerfile'

This commit is contained in:
diandian 2023-03-31 10:26:50 +08:00
parent 04d96c4aca
commit 4ccad26bb7
1 changed files with 10 additions and 0 deletions

10
worker/mysql-Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM mysql:5.7.41
ENV TZ=Asia/Shanghai
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
ENV MYSQL_ROOT_PASSWORD=123456
ENV MYSQL_DATABASE=maydaytest
COPY ./mayday.sql /docker-entrypoint-initdb.d/mayday.sql
EXPOSE 3306
CMD ["mysqld"]