Update env file handling in Docker setup

Changed the environment file renaming to use a variable for better flexibility. Now it moves the sample env file based on the website root path.
This commit is contained in:
Jeroen De Meerleer 2025-01-20 17:40:57 +01:00
parent 1f56280531
commit f000cc5dd1
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -32,7 +32,7 @@ RUN set -eux; \
USER www-data
WORKDIR ${WEBSITE_ROOT}
RUN mv .env.sample .env
RUN mv ${WEBSITE_ROOT}.env.sample ${WEBSITE_ROOT}.env
RUN composer install
RUN php bin/console asset-map:compile