From 586aa278066b410a6ef60aac16bb69124ce793f0 Mon Sep 17 00:00:00 2001 From: Jonas Leder <git@jonasled.de> Date: Fri, 14 May 2021 23:06:49 +0200 Subject: [PATCH] fix composer install --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a3efe8..4f6a800 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- GitLab