Princeaka commited on
Commit
aa95e96
·
verified ·
1 Parent(s): 55b862e

Create dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +18 -0
dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ===========================
2
+ # JusticeAI — Dockerfile
3
+ # ===========================
4
+
5
+ FROM python:3.10-slim
6
+
7
+ WORKDIR /app
8
+ COPY . /app
9
+
10
+ # Install dependencies
11
+ RUN pip install --no-cache-dir -r requirements.txt
12
+
13
+ # Expose Hugging Face Spaces port
14
+ ENV PORT 7860
15
+ EXPOSE 7860
16
+
17
+ # Run FastAPI server
18
+ CMD ["python", "app.py"]