From 51121624df81f5eb3f06992c241454801cfe9617 Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 24 Jun 2022 14:38:03 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20modified:=20Dockerfile?= =?UTF-8?q?=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bcfbfa0..bd9d406 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ ENV TERM="xterm" \ DB_HOST="localhost" \ DB_NAME="wordpress" \ DB_USER="root"\ - DB_PASS="wordpress_pass" + DB_PASS="password" RUN apk -U upgrade && \ apk add --no-cache bash curl less vim nginx ca-certificates git tzdata zip \ @@ -49,7 +49,7 @@ RUN /usr/bin/mysql_install_db --user=mysql --datadir=/var/lib/mysql && \ sed -i "s/nginx:x:100:101:nginx:\/var\/lib\/nginx:\/sbin\/nologin/nginx:x:100:101:nginx:\/usr:\/bin\/bash/g" /etc/passwd- && \ echo "mysqld_safe --datadir=/var/lib/mysql --port=3306 &" > /tmp/config && \ echo "mysqladmin --silent --wait=30 ping || exit 1" >> /tmp/config && \ - echo "mysqladmin -u root password 'wordpress_pass'" >> /tmp/config && \ + echo "mysqladmin -u root password 'password'" >> /tmp/config && \ bash /tmp/config && \ rm -f /tmp/config