|
|
@ -13,6 +13,7 @@ RUN cd /var/www/html/; \ |
|
|
|
git clone -b devel https://github.com/fspc/Yellow-Bike-Database.git .; \ |
|
|
|
|
|
|
|
COPY YBDB.php /var/www/html/Connections/ |
|
|
|
COPY populate.sql /var/www/html/ |
|
|
|
RUN service mysql start; \ |
|
|
|
mysqladmin create ybdb; \ |
|
|
|
mysql -e "GRANT ALL PRIVILEGES ON ybdb.* TO 'admin'@'%' IDENTIFIED BY 'yblcatx' with grant option"; \ |
|
|
@ -21,7 +22,6 @@ RUN service mysql start; \ |
|
|
|
|
|
|
|
COPY mysql.conf /etc/supervisor/conf.d/ |
|
|
|
COPY apache2.conf /etc/supervisor/conf.d/ |
|
|
|
COPY sshd.conf /etc/supervisor/conf.d/ |
|
|
|
|
|
|
|
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"] |
|
|
|
|
|
|
|