Spaces:
Build error
Build error
Hannes Kath commited on
Commit ·
b34f5ac
1
Parent(s): cde8603
change Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -8,7 +8,7 @@ ARG GITLAB_DEPLOYTOKEN_USERNAME=gitlab+deploy-token-94
|
|
| 8 |
ARG GITLAB_DEPLOYTOKEN_PASSWORD=gldt-TQBhFs28iZUJSwVSBfR8
|
| 9 |
|
| 10 |
# Set the Git repository URL with deploy token
|
| 11 |
-
ARG REPO_URL=https://$GITLAB_DEPLOYTOKEN_USERNAME:$GITLAB_DEPLOYTOKEN_PASSWORD@git.ni.dfki.de/iml/cst/pam_al_ui.git
|
| 12 |
|
| 13 |
# test configuration
|
| 14 |
#ARG GITLAB_DEPLOYTOKEN_USERNAME=gitlab+deploy-token-96
|
|
@@ -21,6 +21,9 @@ RUN git clone ${REPO_URL} /git_app
|
|
| 21 |
# Switch to the cloned directory
|
| 22 |
WORKDIR /git_app
|
| 23 |
|
|
|
|
|
|
|
|
|
|
| 24 |
# Install dependencies
|
| 25 |
RUN pip install --upgrade pip setuptools wheel
|
| 26 |
RUN python3 -m pip install -r requirements.txt
|
|
|
|
| 8 |
ARG GITLAB_DEPLOYTOKEN_PASSWORD=gldt-TQBhFs28iZUJSwVSBfR8
|
| 9 |
|
| 10 |
# Set the Git repository URL with deploy token
|
| 11 |
+
ARG REPO_URL=https://$GITLAB_DEPLOYTOKEN_USERNAME:$GITLAB_DEPLOYTOKEN_PASSWORD@git.ni.dfki.de/iml/cst/pam_al_ui.git
|
| 12 |
|
| 13 |
# test configuration
|
| 14 |
#ARG GITLAB_DEPLOYTOKEN_USERNAME=gitlab+deploy-token-96
|
|
|
|
| 21 |
# Switch to the cloned directory
|
| 22 |
WORKDIR /git_app
|
| 23 |
|
| 24 |
+
# Change to the versio branch
|
| 25 |
+
RUN git checkout version
|
| 26 |
+
|
| 27 |
# Install dependencies
|
| 28 |
RUN pip install --upgrade pip setuptools wheel
|
| 29 |
RUN python3 -m pip install -r requirements.txt
|