cigol123 commited on
Commit
f5e52ad
·
verified ·
1 Parent(s): 8de2aa3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -4,9 +4,8 @@ WORKDIR /app
4
 
5
  RUN apt-get update && apt-get install -y wget
6
 
7
- RUN --mount=type=secret,id=hf_token \
8
- wget https://huggingface.co/cigol123/YUGO-GPT-Q4_0-GGUF/resolve/main/yugogpt-q4_0.gguf \
9
- --header="Authorization: Bearer $(cat /run/secrets/hf_token)"
10
 
11
  COPY requirements.txt .
12
  RUN pip install -r requirements.txt
@@ -15,3 +14,4 @@ COPY . .
15
 
16
  CMD ["python", "app.py"]
17
 
 
 
4
 
5
  RUN apt-get update && apt-get install -y wget
6
 
7
+ ARG HF_TOKEN
8
+ RUN wget https://huggingface.co/cigol123/YUGO-GPT-Q4_0-GGUF/resolve/main/yugogpt-q4_0.gguf --header="Authorization: Bearer ${HF_TOKEN}"
 
9
 
10
  COPY requirements.txt .
11
  RUN pip install -r requirements.txt
 
14
 
15
  CMD ["python", "app.py"]
16
 
17
+