install.sh collects env vars

This commit is contained in:
2025-06-08 08:31:04 +01:00
parent 27c87d1df9
commit 791241c6be
3 changed files with 88 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ FROM docker.io/bitnami/php-fpm:8.4 AS database
WORKDIR /app
COPY ./composer.* ./symfony.* ./
COPY ./bin ./bin
COPY ./.env.prod ./.env
COPY ./.env ./.env
COPY ./config ./config
COPY ./migrations ./migrations
COPY ./src ./src
@@ -21,7 +21,7 @@ FROM apt-install AS composer-install
COPY --from=database /app/var /app/var
WORKDIR /app
COPY ./composer.* ./symfony.* ./
COPY ./.env.prod ./.env
COPY ./.env ./.env
RUN composer install \
--no-cache \
--no-dev \