Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -4,9 +4,8 @@ WORKDIR /app
|
|
4 |
|
5 |
RUN apt-get update && apt-get install -y wget
|
6 |
|
7 |
-
|
8 |
-
|
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 |
+
|