Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
WORKDIR /app
|
| 3 |
-
|
| 4 |
-
|
|
|
|
| 5 |
COPY . .
|
| 6 |
-
|
|
|
|
|
|
| 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"]
|