From 94fd987400805a0d1e75304e153831dbf1a8926a Mon Sep 17 00:00:00 2001 From: Michael Parker Date: Tue, 3 Aug 2021 23:33:25 -0400 Subject: [PATCH] fix ghcr builds Fix nginx conf file location Fix php-fpm conf file location --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 02da51054..8d50d3845 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,13 +25,13 @@ RUN apk add --no-cache --update ca-certificates dcron curl git supervisor tar un && rm -rf .env bootstrap/cache/*.php \ && chown -R nginx:nginx . -RUN rm /usr/local/etc/php-fpm.d/www.conf.default \ +RUN rm /usr/local/etc/php-fpm.conf \ && echo "* * * * * /usr/local/bin/php /app/artisan schedule:run >> /dev/null 2>&1" >> /var/spool/cron/crontabs/root \ && sed -i s/ssl_session_cache/#ssl_session_cache/g /etc/nginx/nginx.conf \ && mkdir -p /var/run/php /var/run/nginx -COPY .github/docker/default.conf /etc/nginx/conf.d/default.conf -COPY .github/docker/www.conf /usr/local/etc/php-fpm.d/www.conf +COPY .github/docker/default.conf /etc/nginx/http.d/default.conf +COPY .github/docker/www.conf /usr/local/etc/php-fpm.conf COPY .github/docker/supervisord.conf /etc/supervisord.conf EXPOSE 80 443