diff --git a/Dockerfile b/Dockerfile index 59f38eed45ccf4f9f09752e91772358e9f0eab24..64d4cd215f37513d07b6efa47de1f8e5f97e58ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,13 +21,13 @@ ARG COMPOSER_ALLOW_SUPERUSER=1 RUN apt update -y && \ apt install -y --no-install-recommends git unzip && \ cd /app && \ - git clone https://github.com/${TOKEN_PORTAL_ORIGIN}/simple-oidc-client-php.git token && \ - cd token && \ + git clone https://github.com/${TOKEN_PORTAL_ORIGIN}/simple-oidc-client-php.git token-portal && \ + cd token-portal && \ if echo $TOKEN_PORTAL_VERSION | grep -q "^[0-9]"; then git checkout v${TOKEN_PORTAL_VERSION}; else git checkout ${TOKEN_PORTAL_VERSION}; fi # install composer dependencies COPY --from=composer /usr/bin/composer /usr/bin/composer -RUN cd /app/token && \ +RUN cd /app/token-portal && \ /usr/bin/composer install --no-dev --no-progress FROM ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX:+/}bitnami/php-fpm:${PHP_VERSION:-latest}${DEB_VERSION:+-debian-}${DEB_VERSION}