Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
FROM python:3.10-slim
|
3 |
|
4 |
# Install dependencies for Ollama
|
5 |
-
RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/*
|
6 |
|
7 |
# Install Ollama server
|
8 |
# Set working directory for the app
|
@@ -40,7 +40,7 @@ COPY . /app
|
|
40 |
# Install Python dependencies
|
41 |
|
42 |
# Expose ports for Gradio and Ollama
|
43 |
-
|
44 |
|
45 |
# Start both services using a script
|
46 |
COPY start_services.sh /app/start_services.sh
|
|
|
2 |
FROM python:3.10-slim
|
3 |
|
4 |
# Install dependencies for Ollama
|
5 |
+
#RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/*
|
6 |
|
7 |
# Install Ollama server
|
8 |
# Set working directory for the app
|
|
|
40 |
# Install Python dependencies
|
41 |
|
42 |
# Expose ports for Gradio and Ollama
|
43 |
+
EXPOSE 7860
|
44 |
|
45 |
# Start both services using a script
|
46 |
COPY start_services.sh /app/start_services.sh
|