1
0
mirror of https://github.com/fspc/ybdb.git synced 2025-02-28 10:43:22 -05:00

This should fix the compile.

This commit is contained in:
Jonathan Rosenbaum 2014-12-15 06:00:31 +00:00
parent c3c5a86c57
commit 9c92df8da9

View File

@ -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"]