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:
parent
1f56280531
commit
f000cc5dd1
@ -32,7 +32,7 @@ RUN set -eux; \
|
|||||||
|
|
||||||
USER www-data
|
USER www-data
|
||||||
WORKDIR ${WEBSITE_ROOT}
|
WORKDIR ${WEBSITE_ROOT}
|
||||||
RUN mv .env.sample .env
|
RUN mv ${WEBSITE_ROOT}.env.sample ${WEBSITE_ROOT}.env
|
||||||
RUN composer install
|
RUN composer install
|
||||||
RUN php bin/console asset-map:compile
|
RUN php bin/console asset-map:compile
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user