cigol123 commited on
Commit
2b3e83f
·
verified ·
1 Parent(s): f5e52ad

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -5,6 +5,7 @@ WORKDIR /app
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 .
@@ -13,5 +14,3 @@ RUN pip install -r requirements.txt
13
  COPY . .
14
 
15
  CMD ["python", "app.py"]
16
-
17
-
 
5
  RUN apt-get update && apt-get install -y wget
6
 
7
  ARG HF_TOKEN
8
+ ENV HF_TOKEN=${HF_TOKEN}
9
  RUN wget https://huggingface.co/cigol123/YUGO-GPT-Q4_0-GGUF/resolve/main/yugogpt-q4_0.gguf --header="Authorization: Bearer ${HF_TOKEN}"
10
 
11
  COPY requirements.txt .
 
14
  COPY . .
15
 
16
  CMD ["python", "app.py"]