From 35ce85e3fc079cac578a8c99a499b06b40fd288e Mon Sep 17 00:00:00 2001 From: Vicente Falco Date: Thu, 21 Sep 2017 12:17:48 +0200 Subject: [PATCH] docker DB --- services/db/Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/services/db/Dockerfile b/services/db/Dockerfile index 3641614c3..c51057ec3 100644 --- a/services/db/Dockerfile +++ b/services/db/Dockerfile @@ -1,5 +1,9 @@ -FROM mysql:5.6.35 +FROM mysql:5.6.37 -RUN npm install +ENV MYSQL_ALLOW_EMPTY_PASSWORD yes -CMD ["npm", "start"] \ No newline at end of file +RUN apt-get -y install vim + +CMD ["mysqld"] + +EXPOSE 3306 \ No newline at end of file