Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -7,6 +7,6 @@ RUN make -ij server
|
|
7 |
WORKDIR /llama.cpp/models
|
8 |
RUN curl -L "https://huggingface.co/iAkashPaul/gemma-7b-it-gguf/resolve/main/gemma-7b-it-Q4_0.gguf?download=true" --output gemma-7b-it-Q4_0.gguf
|
9 |
WORKDIR /llama.cpp
|
10 |
-
EXPOSE
|
11 |
RUN chmod -R 777 /llama.cpp
|
12 |
-
CMD python -m http.server && ./server -t 4 -m ./models/gemma-7b-it-Q4_0.gguf
|
|
|
7 |
WORKDIR /llama.cpp/models
|
8 |
RUN curl -L "https://huggingface.co/iAkashPaul/gemma-7b-it-gguf/resolve/main/gemma-7b-it-Q4_0.gguf?download=true" --output gemma-7b-it-Q4_0.gguf
|
9 |
WORKDIR /llama.cpp
|
10 |
+
EXPOSE 7860
|
11 |
RUN chmod -R 777 /llama.cpp
|
12 |
+
CMD python -m http.server && ./server --host 0.0.0.0 --port 7860-t 4 -m ./models/gemma-7b-it-Q4_0.gguf
|