Skip to content

Commit

Permalink
fixed: docker镜像构建产生laravel.log导致无写入权限
Browse files Browse the repository at this point in the history
  • Loading branch information
xxx committed Jan 18, 2025
1 parent 6f19fd1 commit 7d247b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ RUN composer install --optimize-autoloader --no-dev
# laravel框架的一些操作
RUN php artisan route:cache && php artisan storage:link && php artisan install:lock

RUN rm -rf /var/www/api/storage/logs/laravel.log

EXPOSE 8000
EXPOSE 8100
EXPOSE 8200
Expand Down

0 comments on commit 7d247b5

Please sign in to comment.