You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PlexShare/Dockerfile

19 lines
915 B

3 years ago
FROM webdevops/php-nginx:7.4-alpine
USER application
3 years ago
WORKDIR /app
COPY ./ /app
RUN php -v
RUN composer install
RUN (crontab -l ; echo "*/2 * * * * /usr/local/bin/php /app/oil refine server:ping")| crontab -
RUN (crontab -l ; echo "*/2 * * * * /usr/local/bin/php /app/oil refine server:ping")| crontab -
RUN (crontab -l ; echo "*/5 * * * * /usr/local/bin/php /app/oil refine server:browseServers")| crontab -
RUN (crontab -l ; echo "*/5 * * * * /usr/local/bin/php /app/oil refine server:browseServers")| crontab -
RUN (crontab -l ; echo "0 5 1 * * /usr/local/bin/php /app/oil refine server:checkNotFound")| crontab -
RUN (crontab -l ; echo "0 5 1 * * /usr/local/bin/php /app/oil refine server:checkNotFound")| crontab -