use compose:2 image

This commit is contained in:
Jonas Leder 2021-09-08 21:05:51 +02:00
parent 37d84370e6
commit 9679ed1221

View file

@ -8,7 +8,7 @@ RUN yarn install
RUN yarn compile
# Install PHP dependencies
FROM composer:latest AS composer
FROM composer:2 AS composer
WORKDIR /build
COPY --from=buildJS /build /build
RUN cd /build/public/API && composer install