mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-14 06:09:33 +00:00
Copy .env file to translations stage for Symfony console commands
Symfony console requires .env file to bootstrap. Added COPY .env to translations stage so cache:warmup can run successfully. Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
This commit is contained in:
parent
a604ec8476
commit
9402382d56
2 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ WORKDIR /build
|
|||
# Copy composer dependencies and application files
|
||||
COPY --from=composer-deps /build/vendor ./vendor
|
||||
COPY composer.json composer.lock symfony.lock ./
|
||||
COPY .env ./
|
||||
COPY bin ./bin
|
||||
COPY config ./config
|
||||
COPY public ./public
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ WORKDIR /build
|
|||
# Copy composer dependencies and application files
|
||||
COPY --from=composer-deps /build/vendor ./vendor
|
||||
COPY composer.json composer.lock symfony.lock ./
|
||||
COPY .env ./
|
||||
COPY bin ./bin
|
||||
COPY config ./config
|
||||
COPY public ./public
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue