Spaces:
Runtime error
Runtime error
shaikatasif
commited on
Commit
•
9b02066
1
Parent(s):
3660c37
Create Dockerfile
Browse files- Dockerfile +11 -0
Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM kalilinux/kali-rolling
|
2 |
+
RUN apt update && apt upgrade -y
|
3 |
+
RUN apt install wget -y
|
4 |
+
RUN wget https://huggingface.co/shaikatasif/tiny-vicuna/resolve/main/tiny-vicuna-1b.q8_0.llamafile.exe
|
5 |
+
RUN mv tiny-vicuna-1b.q8_0.llamafile.exe tiny-vicuna-1b.q8_0.llamafile
|
6 |
+
RUN chmod +x tiny-vicuna-1b.q8_0.llamafile
|
7 |
+
RUN apt install adduser -y
|
8 |
+
RUN addgroup --gid 1000 user
|
9 |
+
RUN adduser --uid 1000 --gid 1000 --disabled-password --gecos "" user
|
10 |
+
USER user
|
11 |
+
ENTRYPOINT ./tiny-vicuna-1b.q8_0.llamafile --host 0.0.0.0
|