broadfield-dev commited on
Commit
face1f8
·
verified ·
1 Parent(s): d0d125b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ # Install wkhtmltopdf and dependencies
4
+ RUN apt-get update && apt-get install -y \
5
+ wkhtmltopdf \
6
+
7
+ WORKDIR /app
8
+ COPY requirements.txt .
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+ COPY . .
11
+
12
+ CMD ["python", "app.py"]