Update Dockerfile
Browse files- Dockerfile +7 -1
Dockerfile
CHANGED
|
@@ -75,4 +75,10 @@ EXPOSE 7860
|
|
| 75 |
#
|
| 76 |
# "ollama serve" runs on default port 11411. We'll run that in the background,
|
| 77 |
# then run uvicorn on 7860.
|
| 78 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
#
|
| 76 |
# "ollama serve" runs on default port 11411. We'll run that in the background,
|
| 77 |
# then run uvicorn on 7860.
|
| 78 |
+
# Copy the entrypoint script into the container
|
| 79 |
+
COPY entrypoint.sh /entrypoint.sh
|
| 80 |
+
RUN chmod +x /entrypoint.sh
|
| 81 |
+
|
| 82 |
+
# Use the entrypoint script to start the services
|
| 83 |
+
CMD ["/entrypoint.sh"]
|
| 84 |
+
|