kris524 commited on
Commit
382ce41
·
verified ·
1 Parent(s): 141ee72

Create dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +15 -0
dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Install system dependencies
6
+ RUN apt-get update && apt-get install -y \
7
+ libsm6 libxext6 libxrender-dev \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
+ COPY requirements.txt .
11
+ RUN pip install --no-cache-dir -r requirements.txt
12
+
13
+ COPY app.py .
14
+
15
+ CMD ["python", "app.py"]