We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b763ccb commit e9a1742Copy full SHA for e9a1742
Dockerfile.prod
@@ -63,7 +63,10 @@ COPY --from=vuejs /app/public/js/ /var/www/html/public/js/
63
COPY --from=vuejs /app/public/css/ /var/www/html/public/css/
64
COPY --from=vuejs /app/mix-manifest.json /var/www/html/mix-manifest.json
65
66
-RUN php artisan key:generate --ansi && php artisan storage:link && php artisan config:cache && php artisan route:cache
+
67
68
69
+RUN rm -rf /var/www/html/public/storage
70
71
72
# these directories need to be writable by Apache
@@ -84,6 +87,9 @@ RUN chown -R www-data:www-data \
84
87
85
88
RUN chmod -R 775 /var/www/html/storage
86
89
90
+RUN php artisan key:generate --ansi \
91
+ && php artisan storage:link
92
93
VOLUME ["/var/www/html/storage", "/var/www/html/bootstrap/cache"]
94
95
EXPOSE 80
0 commit comments