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