install.sh collects env vars
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user