Spaces:
Paused
Paused
more fixes
Browse files- Dockerfile +2 -2
- backend/requirements.txt +1 -2
Dockerfile
CHANGED
|
@@ -104,7 +104,7 @@ RUN echo -n 00000000-0000-0000-0000-000000000000 > $HOME/.cache/chroma/telemetry
|
|
| 104 |
|
| 105 |
# Make sure the user has access to the app and root directory
|
| 106 |
RUN chown -R $UID:$GID /app $HOME
|
| 107 |
-
RUN apt-get update && apt-get install -y --no-install-recommends gnupg
|
| 108 |
|
| 109 |
RUN if [ "$USE_OLLAMA" = "true" ]; then \
|
| 110 |
apt-get update && \
|
|
@@ -133,7 +133,7 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
|
|
| 133 |
# install python dependencies
|
| 134 |
COPY --chown=$UID:$GID ./backend/requirements.txt ./requirements.txt
|
| 135 |
|
| 136 |
-
RUN pip3 install huggingface_hub
|
| 137 |
RUN pip3 install uv && \
|
| 138 |
if [ "$USE_CUDA" = "true" ]; then \
|
| 139 |
# If you use CUDA the whisper and embedding model will be downloaded on first use
|
|
|
|
| 104 |
|
| 105 |
# Make sure the user has access to the app and root directory
|
| 106 |
RUN chown -R $UID:$GID /app $HOME
|
| 107 |
+
RUN apt-get update && apt-get install -y --no-install-recommends gnupg sqlite3
|
| 108 |
|
| 109 |
RUN if [ "$USE_OLLAMA" = "true" ]; then \
|
| 110 |
apt-get update && \
|
|
|
|
| 133 |
# install python dependencies
|
| 134 |
COPY --chown=$UID:$GID ./backend/requirements.txt ./requirements.txt
|
| 135 |
|
| 136 |
+
RUN pip3 install huggingface_hub
|
| 137 |
RUN pip3 install uv && \
|
| 138 |
if [ "$USE_CUDA" = "true" ]; then \
|
| 139 |
# If you use CUDA the whisper and embedding model will be downloaded on first use
|
backend/requirements.txt
CHANGED
|
@@ -106,5 +106,4 @@ googleapis-common-protos==1.63.2
|
|
| 106 |
ldap3==2.9.1
|
| 107 |
|
| 108 |
gnupg
|
| 109 |
-
huggingface_hub
|
| 110 |
-
sqlite3
|
|
|
|
| 106 |
ldap3==2.9.1
|
| 107 |
|
| 108 |
gnupg
|
| 109 |
+
huggingface_hub
|
|
|