Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -6
Dockerfile
CHANGED
|
@@ -1,11 +1,6 @@
|
|
| 1 |
# Use an alias for the base image for easier updates
|
| 2 |
FROM python:3.10 as base
|
| 3 |
|
| 4 |
-
# Set model
|
| 5 |
-
ENV MODEL=LSX-UniWue/LLaMmlein_1B_chat_selected
|
| 6 |
-
ENV QUANT=BF16
|
| 7 |
-
ENV CHAT_TEMPLATE=chatml
|
| 8 |
-
|
| 9 |
# Set the working directory
|
| 10 |
WORKDIR /app
|
| 11 |
|
|
@@ -14,7 +9,7 @@ COPY ./requirements.txt /app/
|
|
| 14 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 15 |
|
| 16 |
# Download model
|
| 17 |
-
RUN wget https://huggingface.co/LSX-UniWue/LLaMmlein_1B_alternative_formats/resolve/LLaMmlein_1B_chat_selected/LLaMmlein_1B_chat_selected.gguf -O model.gguf
|
| 18 |
|
| 19 |
# Copy the rest of your application
|
| 20 |
COPY . .
|
|
|
|
| 1 |
# Use an alias for the base image for easier updates
|
| 2 |
FROM python:3.10 as base
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
# Set the working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
|
|
| 9 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 10 |
|
| 11 |
# Download model
|
| 12 |
+
RUN wget -nv https://huggingface.co/LSX-UniWue/LLaMmlein_1B_alternative_formats/resolve/LLaMmlein_1B_chat_selected/LLaMmlein_1B_chat_selected.gguf -O model.gguf
|
| 13 |
|
| 14 |
# Copy the rest of your application
|
| 15 |
COPY . .
|