fixes for composer

This commit is contained in:
David Bomba
2023-07-06 12:49:41 +10:00
parent c78f7a7bdf
commit cc1f569324

View File

@@ -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