feat: storage link

This commit is contained in:
Leon 2025-12-19 15:58:34 +01:00
parent de8ce8941a
commit df09fe07ce
2 changed files with 5 additions and 1 deletions

View File

@ -4,3 +4,4 @@
storage/logs storage/logs
storage/framework/cache/data storage/framework/cache/data
.env .env
public/storage

View File

@ -26,6 +26,9 @@ RUN docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd \
# On récupère tout ce qui a été préparé dans létape build # On récupère tout ce qui a été préparé dans létape build
COPY --from=build /var/www/html /var/www/html COPY --from=build /var/www/html /var/www/html
# Création du symlink storage
RUN php artisan storage:link
# On désactive l'ENTRYPOINT par défaut de l'image de base # On désactive l'ENTRYPOINT par défaut de l'image de base
ENTRYPOINT [] ENTRYPOINT []