mohansshf commited on
Commit
49d460a
·
1 Parent(s): 3ce0cde

Add Dockerfile at repo root for HF Spaces

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Copy requirements from correct path within build context (repo root)
6
+ COPY org_sim/server/requirements.txt .
7
+ RUN pip install --no-cache-dir -r requirements.txt
8
+
9
+ # Copy full repo so org_sim package is importable
10
+ COPY . .
11
+
12
+ EXPOSE 8000
13
+
14
+ # Module path from repo root
15
+ CMD ["python", "-m", "uvicorn", "org_sim.server.app:app", "--host", "0.0.0.0", "--port", "8000"]