Bake .env into build — env vars load from image at container start

This commit is contained in:
2026-06-04 14:36:34 +01:00
parent dc414f1b84
commit 433b77ee5d
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -15,6 +15,7 @@ COPY robots.txt /var/www/html/robots.txt
COPY sitemap.xml /var/www/html/sitemap.xml
COPY 404.html /var/www/html/404.html
COPY 500.html /var/www/html/500.html
COPY .env /var/www/html/.env
RUN chown -R www-data:www-data /var/www/html