Spaces:
Sleeping
Sleeping
rajsinghparihar
commited on
Commit
·
ddbdf38
1
Parent(s):
f3c667d
update dockerfile: entrypoint
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -13,9 +13,9 @@ RUN apt-get update && apt-get install -y \
|
|
13 |
RUN wget https://huggingface.co/jartine/Phi-3-mini-4k-instruct-llamafile/resolve/main/Phi-3-mini-4k-instruct.Q4_K_M.llamafile
|
14 |
|
15 |
# Set the permissions on the Llamafile to be executable
|
16 |
-
RUN chmod +x Phi-3-mini-4k-instruct.Q4_K_M.llamafile
|
17 |
|
18 |
EXPOSE 7860
|
19 |
|
20 |
# Set the entrypoint to run the Llamafile
|
21 |
-
|
|
|
13 |
RUN wget https://huggingface.co/jartine/Phi-3-mini-4k-instruct-llamafile/resolve/main/Phi-3-mini-4k-instruct.Q4_K_M.llamafile
|
14 |
|
15 |
# Set the permissions on the Llamafile to be executable
|
16 |
+
RUN chmod +x ./Phi-3-mini-4k-instruct.Q4_K_M.llamafile
|
17 |
|
18 |
EXPOSE 7860
|
19 |
|
20 |
# Set the entrypoint to run the Llamafile
|
21 |
+
RUN ["./Phi-3-mini-4k-instruct.Q4_K_M.llamafile --host 0.0.0.0 --port 7860 --nobrowser"]
|