Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 7 |
unzip \
|
| 8 |
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
|
| 10 |
-
RUN conda create -c conda-forge -y -n main python=3.
|
| 11 |
|
| 12 |
WORKDIR /src
|
| 13 |
RUN git clone https://github.com/chandanasreemala/XAI_RAG.git
|
|
@@ -22,7 +22,7 @@ RUN conda run -n main pip install --no-cache-dir -r requirements.txt && \
|
|
| 22 |
"pydantic>=1.10.11,<2.0.0" \
|
| 23 |
"numpy<2.0.0" \
|
| 24 |
"huggingface_hub<0.20.0" && \
|
| 25 |
-
conda run -n main pip install 'setuptools<82' && \
|
| 26 |
conda run -n main python -m spacy download en_core_web_sm
|
| 27 |
|
| 28 |
HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
|
|
|
|
| 7 |
unzip \
|
| 8 |
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
|
| 10 |
+
RUN conda create -c conda-forge -y -n main python=3.9
|
| 11 |
|
| 12 |
WORKDIR /src
|
| 13 |
RUN git clone https://github.com/chandanasreemala/XAI_RAG.git
|
|
|
|
| 22 |
"pydantic>=1.10.11,<2.0.0" \
|
| 23 |
"numpy<2.0.0" \
|
| 24 |
"huggingface_hub<0.20.0" && \
|
| 25 |
+
# conda run -n main pip install 'setuptools<82' && \
|
| 26 |
conda run -n main python -m spacy download en_core_web_sm
|
| 27 |
|
| 28 |
HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
|