Spaces:
Running
Running
magicudapps
commited on
Commit
•
af09227
1
Parent(s):
e1e3951
chore: update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -17,9 +17,9 @@ RUN --mount=type=secret,id=GITLAB_CREDENTIALS,mode=0444,required=true \
|
|
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
|
20 |
-
RUN
|
21 |
RUN pipenv install
|
22 |
-
RUN
|
23 |
RUN python cli/downloader/vncorenlp_download.py
|
24 |
RUN python cli/downloader/stanza_download.py
|
25 |
RUN python cli/downloader/sentence_transformer_model_download.py BookingCare/multilingual-e5-base-v2
|
|
|
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
|
20 |
+
RUN . $HOME/.bashrc
|
21 |
RUN pipenv install
|
22 |
+
RUN . /home/user/.bashrc && . .venv/bin/activate
|
23 |
RUN python cli/downloader/vncorenlp_download.py
|
24 |
RUN python cli/downloader/stanza_download.py
|
25 |
RUN python cli/downloader/sentence_transformer_model_download.py BookingCare/multilingual-e5-base-v2
|