Spaces:
Sleeping
Sleeping
chenhaodev
commited on
Commit
•
b9d5f82
1
Parent(s):
3f63aee
Update Dockerfile
Browse files- Dockerfile +1 -5
Dockerfile
CHANGED
@@ -5,15 +5,11 @@ FROM python:3.10 as base
|
|
5 |
ENV MODEL=gguf/Smaug-34B-v0.1-GGUF
|
6 |
ENV QUANT=Q4_K_M
|
7 |
#ENV CHAT_TEMPLATE=chatml
|
8 |
-
ENV CHAT_TEMPLATE=llama-2
|
9 |
|
10 |
# Set up a new user named "user" with user ID 1000
|
11 |
RUN useradd -m -u 1000 user
|
12 |
-
|
13 |
-
# Switch to the "user" user
|
14 |
USER user
|
15 |
-
|
16 |
-
# Set home to the user's home directory
|
17 |
ENV HOME=/home/user \
|
18 |
PATH=/home/user/.local/bin:$PATH
|
19 |
|
|
|
5 |
ENV MODEL=gguf/Smaug-34B-v0.1-GGUF
|
6 |
ENV QUANT=Q4_K_M
|
7 |
#ENV CHAT_TEMPLATE=chatml
|
8 |
+
#ENV CHAT_TEMPLATE=llama-2
|
9 |
|
10 |
# Set up a new user named "user" with user ID 1000
|
11 |
RUN useradd -m -u 1000 user
|
|
|
|
|
12 |
USER user
|
|
|
|
|
13 |
ENV HOME=/home/user \
|
14 |
PATH=/home/user/.local/bin:$PATH
|
15 |
|