mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-05 04:50:55 +08:00
1. 更改Dockerfile
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
FROM mysql:5.7.39-oracle
|
||||
|
||||
LABEL org.opencontainers.image.authors="haoqi123"
|
||||
|
||||
EXPOSE 3306
|
||||
|
||||
ENV INIT_SOURCE_FILE=./sql/*.sql
|
||||
#RUN mkdir /data/mysql
|
||||
#RUN mkdir /var/lib/mysql-files
|
||||
ENV MYSQL_CNF_FILE=./conf/*.cnf
|
||||
COPY ${INIT_SOURCE_FILE} /docker-entrypoint-initdb.d/
|
||||
COPY ./*.cnf /etc/mysql/conf.d/
|
||||
COPY ${MYSQL_CNF_FILE} /etc/mysql/conf.d/
|
||||
Reference in New Issue
Block a user