Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -7,7 +7,9 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
7 |
WORKDIR /app
|
8 |
|
9 |
COPY --chown=user ./requirements.txt requirements.txt
|
10 |
-
|
|
|
|
|
11 |
CMD ["ollama", "serve"]
|
12 |
CMD ["ollama", "pull", "smollm:135m"]
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
7 |
WORKDIR /app
|
8 |
|
9 |
COPY --chown=user ./requirements.txt requirements.txt
|
10 |
+
RUN curl -fsSL https://ollama.com/install.sh | sh
|
11 |
+
RUN cp wait-for-it.sh /app/
|
12 |
+
|
13 |
CMD ["ollama", "serve"]
|
14 |
CMD ["ollama", "pull", "smollm:135m"]
|
15 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|