noppodev commited on
Commit
73a277b
·
verified ·
1 Parent(s): 99d72d6

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +22 -0
Dockerfile ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ RUN apt-get update && apt-get install -y \
4
+ git \
5
+ git-lfs \
6
+ libgl1 \
7
+ libglib2.0-0 \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
+ WORKDIR /app
11
+
12
+ RUN pip install --no-cache-dir \
13
+ torch \
14
+ transformers \
15
+ accelerate \
16
+ mergekit \
17
+ gradio \
18
+ huggingface_hub
19
+
20
+ COPY . .
21
+
22
+ CMD ["python", "app.py"]