Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y \
|
|
22 |
RUN python -m venv venv && \
|
23 |
. /app/venv/bin/activate && \
|
24 |
pip install --upgrade pip && \
|
25 |
-
pip install --no-cache-dir
|
26 |
|
27 |
# Install Ollama
|
28 |
RUN curl https://ollama.ai/install.sh | sh
|
@@ -37,7 +37,6 @@ ENV PATH="/app/venv/bin:/root/.ollama/bin:$PATH"
|
|
37 |
COPY . /app
|
38 |
|
39 |
# Install Python dependencies
|
40 |
-
RUN pip install --no-cache-dir gradio requests
|
41 |
|
42 |
# Expose ports for Gradio and Ollama
|
43 |
EXPOSE 7860 11434
|
|
|
22 |
RUN python -m venv venv && \
|
23 |
. /app/venv/bin/activate && \
|
24 |
pip install --upgrade pip && \
|
25 |
+
pip install --no-cache-dir gradio requests
|
26 |
|
27 |
# Install Ollama
|
28 |
RUN curl https://ollama.ai/install.sh | sh
|
|
|
37 |
COPY . /app
|
38 |
|
39 |
# Install Python dependencies
|
|
|
40 |
|
41 |
# Expose ports for Gradio and Ollama
|
42 |
EXPOSE 7860 11434
|