mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-31 03:07:09 +01:00
fixes for composer
This commit is contained in:
@@ -102,11 +102,9 @@ WORKDIR /var/www/app
|
|||||||
|
|
||||||
# Do not remove this ENV
|
# Do not remove this ENV
|
||||||
ENV IS_DOCKER true
|
ENV IS_DOCKER true
|
||||||
#RUN /usr/local/bin/composer install --no-dev --quiet
|
RUN which composer
|
||||||
FROM composer:2.5.8 AS composer
|
RUN composer -v
|
||||||
COPY --from=composer /usr/bin/composer /usr/bin/composer
|
RUN /usr/local/bin/composer install --no-dev --quiet
|
||||||
|
|
||||||
RUN /usr/bin/composer install --no-dev
|
|
||||||
|
|
||||||
# Override the environment settings from projects .env file
|
# Override the environment settings from projects .env file
|
||||||
ENV APP_ENV production
|
ENV APP_ENV production
|
||||||
|
|||||||
Reference in New Issue
Block a user