Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -4
Dockerfile
CHANGED
@@ -10,9 +10,11 @@ COPY . /app
|
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
-
#
|
14 |
-
RUN ollama
|
15 |
|
|
|
|
|
16 |
|
17 |
-
#
|
18 |
-
CMD ["python", "
|
|
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
+
# Install Ollama
|
14 |
+
RUN pip install ollama
|
15 |
|
16 |
+
# Make port 8000 available to the world outside this container
|
17 |
+
EXPOSE 8000
|
18 |
|
19 |
+
# Run app.py when the container launches
|
20 |
+
CMD ["python", "start_ollama_server.py"]
|