DockerFile db local

This commit is contained in:
Vicente Falco 2017-10-13 08:53:54 +02:00
parent ad24380043
commit 09e7e7f4ce
2 changed files with 6 additions and 0 deletions

1
services/db/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.sql

View File

@ -1,7 +1,12 @@
FROM mysql:5.6.37
MAINTAINER Vicente Falco
ENV MYSQL_ALLOW_EMPTY_PASSWORD yes
COPY localDB01Structure.sql /docker-entrypoint-initdb.d
COPY localDB02Inserts.sql /docker-entrypoint-initdb.d
CMD ["mysqld"]
EXPOSE 3306