mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-02-04 05:07:09 +01:00
Ensure composer is present
This commit is contained in:
@@ -100,6 +100,8 @@ COPY --from=build --chown=$INVOICENINJA_USER:$INVOICENINJA_USER /var/www/app /va
|
|||||||
USER $UID
|
USER $UID
|
||||||
WORKDIR /var/www/app
|
WORKDIR /var/www/app
|
||||||
|
|
||||||
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
|
|
||||||
# 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 /usr/local/bin/composer install --no-dev --quiet
|
||||||
|
|||||||
Reference in New Issue
Block a user