subhrajit-mohanty
commited on
Update Dockerfile
Browse files- Dockerfile +7 -7
Dockerfile
CHANGED
@@ -16,12 +16,12 @@ USER ollama-user
|
|
16 |
# Set Ollama to listen on all network interfaces
|
17 |
ENV OLLAMA_HOST=0.0.0.0:7860
|
18 |
|
19 |
-
#
|
20 |
-
RUN ollama pull steamdj/llama3.1-cpu-only
|
21 |
-
|
22 |
-
# Expose the default port (7860)
|
23 |
EXPOSE 7860
|
24 |
|
25 |
-
#
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
16 |
# Set Ollama to listen on all network interfaces
|
17 |
ENV OLLAMA_HOST=0.0.0.0:7860
|
18 |
|
19 |
+
# Expose the default port
|
|
|
|
|
|
|
20 |
EXPOSE 7860
|
21 |
|
22 |
+
# Copy the entrypoint script
|
23 |
+
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
24 |
+
RUN chmod +x /usr/local/bin/entrypoint.sh
|
25 |
+
|
26 |
+
# Use the custom entrypoint script
|
27 |
+
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|