Spaces:
Build error
Build error
Create Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Dockerfile
|
2 |
+
FROM quay.io/go-skynet/local-ai:latest
|
3 |
+
|
4 |
+
WORKDIR /app
|
5 |
+
|
6 |
+
RUN mkdir models
|
7 |
+
|
8 |
+
RUN wget -q "https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.2-GGUF/resolve/main/mistral-7b-instruct-v0.2.Q4_0.gguf" -O models/mistral-7b-instruct-v0.2.Q4_0.gguf
|
9 |
+
COPY models/* models/
|
10 |
+
|
11 |
+
EXPOSE 8080
|
12 |
+
|
13 |
+
CMD ["--models-path", "/app/models", "--context-size", "4090", "--threads", "4"]
|