mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Update Dockerfile
This commit is contained in:
parent
658282e4c4
commit
498f60b049
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ COPY . /app
|
||||||
|
|
||||||
RUN composer install --prefer-dist --optimize-autoloader
|
RUN composer install --prefer-dist --optimize-autoloader
|
||||||
|
|
||||||
|
RUN php _cleanup.php && rm _cleanup.php
|
||||||
|
|
||||||
RUN echo "*/10 * * * * php /app/cron.php >> /proc/1/fd/1 2>&1" > /etc/cron.d/app-cron \
|
RUN echo "*/10 * * * * php /app/cron.php >> /proc/1/fd/1 2>&1" > /etc/cron.d/app-cron \
|
||||||
&& chmod 0644 /etc/cron.d/app-cron \
|
&& chmod 0644 /etc/cron.d/app-cron \
|
||||||
&& crontab /etc/cron.d/app-cron
|
&& crontab /etc/cron.d/app-cron
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue