Spaces:
Build error
Build error
Commit ·
e1e3951
1
Parent(s): 1d2d5fc
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 source $HOME/.bashrc
|
| 21 |
RUN pipenv install
|
| 22 |
+
RUN source /home/user/.bashrc && source .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
|