Spaces:
Sleeping
Sleeping
Commit
·
ccc883e
1
Parent(s):
52529dc
chore: update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -13,7 +13,7 @@ ENV PIPENV_VENV_IN_PROJECT=1
|
|
| 13 |
WORKDIR $HOME/app
|
| 14 |
|
| 15 |
RUN --mount=type=secret,id=GITLAB_CREDENTIALS,mode=0444,required=true \
|
| 16 |
-
git clone "https
|
| 17 |
RUN python -m pip install --upgrade pip
|
| 18 |
RUN pip install --user pipenv
|
| 19 |
RUN echo 'export PATH="/home/user/.local/bin:$PATH"' >> $HOME/.bashrc
|
|
|
|
| 13 |
WORKDIR $HOME/app
|
| 14 |
|
| 15 |
RUN --mount=type=secret,id=GITLAB_CREDENTIALS,mode=0444,required=true \
|
| 16 |
+
git clone "https://oauth2:$(cat /run/secrets/GITLAB_CREDENTIALS)@gitlab.com/bookingcare/search.git" -b dev .
|
| 17 |
RUN python -m pip install --upgrade pip
|
| 18 |
RUN pip install --user pipenv
|
| 19 |
RUN echo 'export PATH="/home/user/.local/bin:$PATH"' >> $HOME/.bashrc
|