LaravelPublisher v.0.0.2 檔案權限問題 20250610
This commit is contained in:
parent
296f3a731e
commit
8a52873788
@ -26,6 +26,7 @@ COPY docker/entrypoint.sh /entrypoint.sh
|
||||
COPY docker/entrypoint.git.sh /entrypoint.git.sh
|
||||
COPY docker/nginx/default.conf.template /etc/nginx/templates/default.conf.template
|
||||
COPY docker/logrotate/laravel /etc/logrotate.d/app/laravel.conf
|
||||
RUN chmod 644 /etc/logrotate.d/app/laravel.conf
|
||||
|
||||
WORKDIR /var/www
|
||||
|
||||
|
@ -43,7 +43,6 @@ php-fpm -D
|
||||
envsubst '${NGINX_HOST} ${NGINX_PORT}' < /etc/nginx/templates/default.conf.template > /etc/nginx/conf.d/default.conf
|
||||
exec nginx -g "daemon off;"
|
||||
|
||||
chmod -R go-w /etc/logrotate.d/app
|
||||
echo "0 0 * * * root /usr/sbin/logrotate /etc/logrotate.d/app" > /etc/cron.d/logrotate-Laravel
|
||||
chmod 0644 /etc/cron.d/logrotate-Laravel
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user