From a09dbf23dd9d02e66b14c82f39e22f22e814bccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B05BEE13=2E=E5=8D=A2=E9=83=B4=E7=BE=A4?= Date: Tue, 24 Nov 2020 12:34:47 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index f1d7412..40ea7fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,7 @@ RUN USER=`sed -n '4,4p' /etc/mysql/debian.cnf | awk 'BEGIN { FS = "= " } ; { pr && PASSWORD=`sed -n '5,5p' /etc/mysql/debian.cnf | awk 'BEGIN { FS = "= " } ; { print $2 }'` \ && sed -i "s/123456/${PASSWORD}/g" /app/src/config/adapter.js \ && npm install --production --registry=https://registry.npm.taobao.org \ + && rm -rf /var/run/mysqld/mysqld.sock.lock \ && service mysql start \ && mysql -u root < /app/schema.sql \ && touch /usr/local/bin/start.sh \