From 09e7e7f4cee3c0498cec4cda411059e83a628e74 Mon Sep 17 00:00:00 2001 From: Vicente Falco Date: Fri, 13 Oct 2017 08:53:54 +0200 Subject: [PATCH] DockerFile db local --- services/db/.gitignore | 1 + services/db/Dockerfile | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 services/db/.gitignore diff --git a/services/db/.gitignore b/services/db/.gitignore new file mode 100644 index 0000000000..48e029b16c --- /dev/null +++ b/services/db/.gitignore @@ -0,0 +1 @@ +*.sql \ No newline at end of file diff --git a/services/db/Dockerfile b/services/db/Dockerfile index 3803f590a5..7452424bd5 100644 --- a/services/db/Dockerfile +++ b/services/db/Dockerfile @@ -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 \ No newline at end of file