hugging2021 commited on
Commit
ece890d
·
verified ·
1 Parent(s): 7edf596

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11.9-slim
2
+
3
+ # Step 2: Install C++ compiler and other dependencies
4
+ RUN apt-get update && apt-get install -y \
5
+ g++ \
6
+ make \
7
+ git \
8
+ && apt-get clean
9
+
10
+ # Step 3: Set the working directory
11
+ WORKDIR /app
12
+
13
+ # Step 4: Copy the source code into the container
14
+ COPY . /app
15
+
16
+ # Step 5: Install Python dependencies
17
+ RUN pip install --no-cache-dir -r requirements.txt
18
+
19
+ # Step 6: Run makefile to build LLMinator
20
+ RUN make
21
+
22
+ # Step 7: Launch LLMinator
23
+ CMD ["python3","webui.py"]