fix storage link error on docker deploy

This commit is contained in:
2026-05-19 19:26:57 +03:30
parent 81dd742120
commit da19b6a8a2
3 changed files with 13 additions and 1 deletions

View File

@@ -113,6 +113,7 @@ RUN composer dump-autoload --optimize --no-dev \
storage/framework/views \
storage/logs \
bootstrap/cache \
&& if [ ! -e public/storage ]; then ln -s ../storage/app/public public/storage; fi \
&& chown -R www-data:www-data storage bootstrap/cache \
&& chmod +x /usr/local/bin/nyone-entrypoint