Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -23,6 +23,9 @@ COPY requirements.txt .
|
|
| 23 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 24 |
pip install --no-cache-dir -r requirements.txt
|
| 25 |
|
|
|
|
|
|
|
|
|
|
| 26 |
# 6. Fix Directory Permissions
|
| 27 |
# Give the user ownership of the app folder before switching users
|
| 28 |
RUN chown -R user:user /home/user/app
|
|
|
|
| 23 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 24 |
pip install --no-cache-dir -r requirements.txt
|
| 25 |
|
| 26 |
+
RUN conda install -c conda-forge faiss-gpu=1.7.4 -y && \
|
| 27 |
+
conda clean -ya
|
| 28 |
+
|
| 29 |
# 6. Fix Directory Permissions
|
| 30 |
# Give the user ownership of the app folder before switching users
|
| 31 |
RUN chown -R user:user /home/user/app
|