chb2026 commited on
Commit
ef76ffc
·
verified ·
1 Parent(s): 3fc4b6f

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +22 -0
Dockerfile ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ COPY .env.example .env
14
+
15
+ # Create required directories
16
+ RUN mkdir -p conversations exports
17
+
18
+ # Expose port
19
+ EXPOSE 3000
20
+
21
+ # Command to run the application
22
+ CMD ["python", "app.py"]