diff --git a/Dockerfile b/Dockerfile index 5f19b8f..a3b1967 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,8 @@ RUN yarn compile # |-------------------------------------------------------------------------- FROM composer:2 AS composer WORKDIR /build -COPY --from=buildJS /build/public . -RUN cd API && composer install +COPY --from=buildJS /build . +RUN composer install # |-------------------------------------------------------------------------- # | Install Webserver @@ -24,4 +24,4 @@ FROM gitlab.jonasled.de/jonasled/apache-php-minimal:latest RUN apk update && \ apk add php8-mysqli php8-mbstring php8-curl curl --no-cache && \ echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf.d/remoteip.conf -COPY --from=composer /build/ . \ No newline at end of file +COPY --from=composer /build/public . \ No newline at end of file