mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
chore: 在 Docker 启动时自动修改项目目录权限
This commit is contained in:
parent
93200ac057
commit
0c2360972b
@ -12,6 +12,6 @@ COPY . /www
|
||||
RUN composer install --optimize-autoloader --no-cache --no-dev \
|
||||
&& php artisan storage:link \
|
||||
&& chown -R www:www /www \
|
||||
&& chmod -R 777 /www
|
||||
&& chmod -R 775 /www
|
||||
|
||||
CMD [ "/usr/bin/supervisord", "--nodaemon", "-c" ,"/etc/supervisor/supervisord.conf" ]
|
||||
CMD ["sh", "-c", "chown -R www:www /www && chmod -R 775 /www && /usr/bin/supervisord --nodaemon -c /etc/supervisor/supervisord.conf"]
|
Loading…
Reference in New Issue
Block a user