feat: storage link
This commit is contained in:
parent
de8ce8941a
commit
df09fe07ce
|
|
@ -4,3 +4,4 @@
|
|||
storage/logs
|
||||
storage/framework/cache/data
|
||||
.env
|
||||
public/storage
|
||||
|
|
@ -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
|
||||
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
|
||||
ENTRYPOINT []
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue