dfa32412 commited on
Commit
855967f
·
verified ·
1 Parent(s): 190e9e6

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Copy requirements first for better layer caching
6
+ COPY requirements.txt .
7
+
8
+ # Install dependencies
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ # Copy application code
12
+ COPY app.py .
13
+
14
+ # Create required directories
15
+ RUN mkdir -p conversations exports
16
+
17
+
18
+ # Command to run the application
19
+ CMD ["python", "app.py"]