Arghadee commited on
Commit
f1a58e0
·
verified ·
1 Parent(s): 78bd4a6

Update Dockerfile

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