Siddh12334 commited on
Commit
8c7e984
·
1 Parent(s): 40b1abb

fix: use lean server requirements in Dockerfile (exclude unsloth/torch)

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. requirements-server.txt +8 -0
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM python:3.11-slim
2
  WORKDIR /app
3
- COPY requirements.txt .
4
- RUN pip install --no-cache-dir -r requirements.txt
5
  COPY . .
6
  RUN python -c "from data.loader import build_fact_database; build_fact_database()" || true
7
  EXPOSE 7860
 
1
  FROM python:3.11-slim
2
  WORKDIR /app
3
+ COPY requirements-server.txt .
4
+ RUN pip install --no-cache-dir -r requirements-server.txt
5
  COPY . .
6
  RUN python -c "from data.loader import build_fact_database; build_fact_database()" || true
7
  EXPOSE 7860
requirements-server.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ openenv-core==0.2.3
2
+ fastapi>=0.104.0
3
+ uvicorn>=0.24.0
4
+ pydantic>=2.0.0
5
+ datasets>=2.0.0
6
+ faker>=18.0.0
7
+ python-dotenv>=1.0.0
8
+ websockets>=15.0.0