From 8bfa6b213581dff72b84273272ac117ac7211320 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20B=C5=99ou=C5=A1ek?= <brousek@ics.muni.cz>
Date: Fri, 28 Apr 2023 12:30:43 +0200
Subject: [PATCH] fix: move code to token-portal

---
 Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 59f38ee..64d4cd2 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}
-- 
GitLab