thangquang09 commited on
Commit ·
c23bdf9
1
Parent(s): 5dea10f
update Dockerfile
Browse files- Dockerfile +8 -3
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM python:3.12
|
| 2 |
|
| 3 |
COPY . .
|
| 4 |
|
|
@@ -8,6 +8,11 @@ RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
|
| 8 |
|
| 9 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
| 10 |
|
| 11 |
-
RUN ollama
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.12
|
| 2 |
|
| 3 |
COPY . .
|
| 4 |
|
|
|
|
| 8 |
|
| 9 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
| 10 |
|
| 11 |
+
RUN ollama pull llama3
|
| 12 |
|
| 13 |
+
COPY start.sh /start.sh
|
| 14 |
+
RUN chmod +x /start.sh
|
| 15 |
+
|
| 16 |
+
EXPOSE 7860
|
| 17 |
+
|
| 18 |
+
CMD ["/start.sh"]
|