Skip to content

Commit

Permalink
hotfix: dockerfile updated
Browse files Browse the repository at this point in the history
  • Loading branch information
niczem authored Dec 23, 2020
1 parent 9654fe3 commit 72832b7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ COPY docker/config config.txt
#create file for crontab
RUN touch /etc/crontab

#create log file to see whats happening with the crontab
RUN touch /var/log/cron.log

#run docker setup script
RUN chmod a+x tcat-install-linux.sh
RUN /bin/bash ./tcat-install-linux.sh -y -c config.txt
Expand All @@ -22,5 +25,5 @@ RUN /bin/bash ./tcat-install-linux.sh -y -c config.txt
EXPOSE 80


#start apache and mysql
CMD sudo service mysql start && apachectl -D FOREGROUND
#start apache and mysql and twitter capture stream once (also started as cronjob, but it seem to have issues sometimes)
CMD sudo service mysql start && apachectl -D FOREGROUND && /usr/bin/php /var/www/dmi-tcat/capture/stream/dmitcat_track.php &

0 comments on commit 72832b7

Please sign in to comment.