Arghadee commited on
Commit
027d52f
·
verified ·
1 Parent(s): 523a3ed

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -1,6 +1,8 @@
1
  FROM python:3.10-slim
2
  WORKDIR /app
3
- COPY requirements.txt .
4
- RUN pip install --no-cache-dir -r requirements.txt
 
5
  COPY . .
6
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
1
  FROM python:3.10-slim
2
  WORKDIR /app
3
+ RUN pip install uv
4
+ COPY pyproject.toml .
5
+ RUN uv lock
6
  COPY . .
7
+ RUN pip install openenv-core fastapi uvicorn gradio matplotlib numpy pandas openai python-dotenv pydantic hatchling
8
+ CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]