diff --git a/Dockerfile b/Dockerfile index 6ff9e39..4665353 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,14 +43,10 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && RUN curl -sS https://get.symfony.com/cli/installer | bash && \ mv /root/.symfony5/bin/symfony /usr/local/bin/symfony -COPY . /var/www/html/ +RUN cd /var/www/html +RUN git clone https://gitea.rkprather.com/ryan/sermon-notes.git ./ RUN mv 000-default.conf /etc/apache2/sites-available/ -RUN rm /var/www/html/.env* -RUN rm -rf /var/www/html/var/* -RUN rm -rf /var/www/html/vendor -RUN rm -rf /var/www/html/tests -RUN rm -rf /var/www/html/translations RUN echo "20 1 * * 6 root cd /var/www/html && /usr/local/bin/php bin/console app:get-audio > /var/log/sermon-notes.log 2>&1" > /etc/cron.d/get-audio RUN chmod 644 /etc/cron.d/get-audio