File size: 620 Bytes
893b350
 
 
 
d3c96e9
893b350
 
 
 
 
 
 
 
 
 
 
2882f7d
893b350
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Use an alias for the base image for easier updates
FROM python:3.10 as base

# Set model
ENV MODEL=LoneStriker/Wiedervereinigung-7b-dpo-GGUF
ENV QUANT=Q4_K_M
ENV CHAT_TEMPLATE=mistral-instruct

# Set the working directory
WORKDIR /app

# Install Python requirements
COPY ./requirements.txt /app/
RUN pip install --no-cache-dir --upgrade -r requirements.txt

# Download model
RUN wget https://huggingface.co./LoneStriker/Wiedervereinigung-7b-dpo-GGUF/resolve/main/Wiedervereinigung-7b-dpo-Q4_K_M.gguf -O model.gguf

# Copy the rest of your application
COPY . .

# Command to run the application
CMD ["python", "app.py"]