Threscomma commited on
Commit
7ff27be
·
verified ·
1 Parent(s): e479c17

Create .dockerfile

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