添加 'worker/mysql-Dockerfile'
This commit is contained in:
parent
04d96c4aca
commit
4ccad26bb7
|
@ -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"]
|
Loading…
Reference in New Issue