Skip to content

Commit 94fd987

Browse files
committed
fix ghcr builds
Fix nginx conf file location Fix php-fpm conf file location
1 parent 0074c84 commit 94fd987

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ RUN apk add --no-cache --update ca-certificates dcron curl git supervisor tar un
2525
&& rm -rf .env bootstrap/cache/*.php \
2626
&& chown -R nginx:nginx .
2727

28-
RUN rm /usr/local/etc/php-fpm.d/www.conf.default \
28+
RUN rm /usr/local/etc/php-fpm.conf \
2929
&& echo "* * * * * /usr/local/bin/php /app/artisan schedule:run >> /dev/null 2>&1" >> /var/spool/cron/crontabs/root \
3030
&& sed -i s/ssl_session_cache/#ssl_session_cache/g /etc/nginx/nginx.conf \
3131
&& mkdir -p /var/run/php /var/run/nginx
3232

33-
COPY .github/docker/default.conf /etc/nginx/conf.d/default.conf
34-
COPY .github/docker/www.conf /usr/local/etc/php-fpm.d/www.conf
33+
COPY .github/docker/default.conf /etc/nginx/http.d/default.conf
34+
COPY .github/docker/www.conf /usr/local/etc/php-fpm.conf
3535
COPY .github/docker/supervisord.conf /etc/supervisord.conf
3636

3737
EXPOSE 80 443

0 commit comments

Comments
 (0)