Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
FROM ubuntu
|
2 |
|
3 |
RUN apt-get update && \
|
4 |
-
apt-get install -y --no-install-recommends ca-certificates
|
5 |
-
|
6 |
-
|
7 |
|
8 |
ENV OLLAMA_HOST="0.0.0.0:7860"
|
9 |
ENV OLLAMA_ORIGINS="*"
|
|
|
1 |
FROM ubuntu
|
2 |
|
3 |
RUN apt-get update && \
|
4 |
+
apt-get install -y --no-install-recommends ca-certificates curl && \
|
5 |
+
curl -L https://github.com/ollama/ollama/releases/download/v0.5.7/ollama-linux-amd64.tgz -o ollama-linux-amd64.tgz && \
|
6 |
+
tar -C /usr -xzf ollama-linux-amd64.tgz
|
7 |
|
8 |
ENV OLLAMA_HOST="0.0.0.0:7860"
|
9 |
ENV OLLAMA_ORIGINS="*"
|