diff --git a/Dockerfile b/Dockerfile index 4320fe1..f7dac7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,8 +27,8 @@ RUN mkdir -p $DATA_DIR/".local/share/Arma 3" && mkdir -p $DATA_DIR/".local/share RUN ulimit -n 2048 -RUN mysqld && \ - echo "CREATE USER IF NOT EXISTS 'steam'@'%' IDENTIFIED BY 'exile';" | mysql -u root +RUN /etc/init.d/mysql start && \ + mysql -u root -e "CREATE USER IF NOT EXISTS 'steam'@'%' IDENTIFIED BY 'exile';;FLUSH PRIVILEGES;" ADD /scripts/ /opt/scripts/ RUN chmod -R 770 /opt/scripts/