Browse Source

This should solve mysql problem when bikebike/bikebike has not been

updated.
master
Jonathan Rosenbaum 10 years ago
parent
commit
1164500c4a
  1. 7
      Dockerfile

7
Dockerfile

@ -20,7 +20,12 @@ RUN service mysql start; \
mysql ybdb < /var/www/html/sql/MySQL_Structure.sql; \ mysql ybdb < /var/www/html/sql/MySQL_Structure.sql; \
mysql ybdb < /var/www/html/sql/populate.sql; mysql ybdb < /var/www/html/sql/populate.sql;
##COPY mysql.conf /etc/supervisor/conf.d/ # This solves a problem which occurs if bikebike/bikebike has not been
# updated in a long time where mysql cannot find Table mysql.db when started
# with mysqld_safe
RUN mysql_install_db;
COPY mysql.conf /etc/supervisor/conf.d/
COPY apache2.conf /etc/supervisor/conf.d/ COPY apache2.conf /etc/supervisor/conf.d/
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"] CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]

Loading…
Cancel
Save