11 lines
250 B
Plaintext
11 lines
250 B
Plaintext
|
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"]
|