fix: remove env
This commit is contained in:
1 parent
76ace993d6
commit
10c65295cc
1 file changed
+3
@@ -59,6 +59,9 @@
|
|||||||
# Optimize Laravel configuration
|
# Optimize Laravel configuration
|
||||||
RUN php artisan config:cache && php artisan route:cache && php artisan view:cache && php artisan event:cache
|
RUN php artisan config:cache && php artisan route:cache && php artisan view:cache && php artisan event:cache
|
||||||
|
|
||||||
|
# Entferne .env Datei, um sensible Daten nicht im finalen Image zu behalten
|
||||||
|
RUN rm -f /var/www/html/.env
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
|
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
|
||||||
|
|
||||||
Reference in new issue
Block a user