fix composer install

This commit is contained in:
Jonas Leder 2021-05-14 23:06:49 +02:00
parent 4040431222
commit 586aa27806

View file

@ -7,12 +7,11 @@ RUN mkdir /build/public/css
RUN yarn install
RUN yarn compile
# Bootstrap SCSS + TS
# Install PHP dependencies
FROM composer:latest AS composer
WORKDIR /build
COPY --from=buildJS /build /build
RUN cd /build/public/API
RUN composer install
RUN cd /build/public/API && composer install
# Prepare Webserver
FROM php:8-apache-buster