File size: 501 Bytes
ece890d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f43d623
ece890d
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM python:3.11.9-slim

# Step 2: Install C++ compiler and other dependencies
RUN apt-get update && apt-get install -y \
    g++ \
    make \
    git \
    && apt-get clean

# Step 3: Set the working directory
WORKDIR /app

# Step 4: Copy the source code into the container
COPY . /app

# Step 5: Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt --force-reinstall

# Step 6: Run makefile to build LLMinator
RUN make

# Step 7: Launch LLMinator
CMD ["python3","webui.py"]