Spaces:
Build error
Build error
rajsinghparihar
commited on
Commit
·
463c098
1
Parent(s):
cf74cf2
update dockerfile: cpp utils and make
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -6,7 +6,9 @@ WORKDIR /app
|
|
| 6 |
|
| 7 |
# Install the necessary dependencies
|
| 8 |
RUN apt-get update && apt-get install -y \
|
| 9 |
-
|
|
|
|
|
|
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Download the Llamafile
|
|
@@ -18,4 +20,4 @@ RUN chmod +x ./Phi-3-mini-4k-instruct.Q4_K_M.llamafile
|
|
| 18 |
EXPOSE 7860
|
| 19 |
|
| 20 |
# Set the entrypoint to run the Llamafile
|
| 21 |
-
RUN ["
|
|
|
|
| 6 |
|
| 7 |
# Install the necessary dependencies
|
| 8 |
RUN apt-get update && apt-get install -y \
|
| 9 |
+
build-essential \
|
| 10 |
+
cmake \
|
| 11 |
+
make curl wget\
|
| 12 |
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
|
| 14 |
# Download the Llamafile
|
|
|
|
| 20 |
EXPOSE 7860
|
| 21 |
|
| 22 |
# Set the entrypoint to run the Llamafile
|
| 23 |
+
RUN ["./Phi-3-mini-4k-instruct.Q4_K_M.llamafile", "--host", "0.0.0.0", "--port", "7860", "--nobrowser"]
|