Skip to content

Commit

Permalink
Copy sql scripts to initdb
Browse files Browse the repository at this point in the history
  • Loading branch information
torjc01 committed Jun 7, 2021
1 parent f427bd2 commit 9e70f08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mysql-obj/Dockerfile.mysql.dev
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
# limitations under the License.
# ###
FROM mysql
ENV MYSQL_ROOT_PASSWORD: blitzkrieg
WORKDIR /db

COPY *.sql /db/
COPY CJQ-DDL.sql /docker-entrypoint-initdb.d/1.sql
COPY CJQ-DML.sql /docker-entrypoint-initdb.d/2.sql
COPY CJQ-config.sql /docker-entrypoint-initdb.d/3.sql

EXPOSE 3306
EXPOSE 8080

0 comments on commit 9e70f08

Please sign in to comment.