Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -8,6 +8,12 @@ RUN apt update && apt install -y python3 && apt install -y python3-pip
|
|
| 8 |
RUN pip3 install litellm
|
| 9 |
RUN pip3 install 'litellm[proxy]'
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
# Copy the entry point script
|
| 12 |
COPY entrypoint.sh /entrypoint.sh
|
| 13 |
RUN chmod +x /entrypoint.sh
|
|
|
|
| 8 |
RUN pip3 install litellm
|
| 9 |
RUN pip3 install 'litellm[proxy]'
|
| 10 |
|
| 11 |
+
# Create a directory for Ollama data
|
| 12 |
+
RUN mkdir -p /.ollama
|
| 13 |
+
RUN chmod -R 777 /.ollama
|
| 14 |
+
|
| 15 |
+
WORKDIR /.ollama
|
| 16 |
+
|
| 17 |
# Copy the entry point script
|
| 18 |
COPY entrypoint.sh /entrypoint.sh
|
| 19 |
RUN chmod +x /entrypoint.sh
|