KVMKASH commited on
Commit
fa93057
·
verified ·
1 Parent(s): b8e9587

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -10
Dockerfile CHANGED
@@ -1,17 +1,8 @@
1
  FROM python:3.10-slim
2
  WORKDIR /app
3
-
4
- # Install dependencies
5
  RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
6
- RUN pip install --no-cache-dir --upgrade pip
7
- RUN pip install --no-cache-dir fastapi uvicorn pydantic requests openai setuptools wheel
8
-
9
- # Copy all code
10
  COPY . .
11
-
12
- # Set environment
13
  ENV PYTHONPATH=/app
14
  EXPOSE 7860
15
-
16
- # Run the server (Inference.py is called externally by the validator)
17
  CMD ["python", "-m", "server.app"]
 
1
  FROM python:3.10-slim
2
  WORKDIR /app
 
 
3
  RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
4
+ RUN pip install --no-cache-dir fastapi uvicorn pydantic requests openai openenv-core
 
 
 
5
  COPY . .
 
 
6
  ENV PYTHONPATH=/app
7
  EXPOSE 7860
 
 
8
  CMD ["python", "-m", "server.app"]