Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -11
Dockerfile
CHANGED
|
@@ -2,16 +2,7 @@
|
|
| 2 |
FROM python:3.10-slim
|
| 3 |
|
| 4 |
WORKDIR /app
|
| 5 |
-
|
| 6 |
COPY . .
|
| 7 |
-
|
| 8 |
-
# Instala dependencias
|
| 9 |
-
RUN pip install --upgrade pip && \
|
| 10 |
-
pip install fastapi uvicorn jinja2 fastmcp
|
| 11 |
-
|
| 12 |
-
# Crea directorio templates
|
| 13 |
-
RUN mkdir -p /app/templates
|
| 14 |
-
|
| 15 |
EXPOSE 7860
|
| 16 |
-
|
| 17 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 2 |
FROM python:3.10-slim
|
| 3 |
|
| 4 |
WORKDIR /app
|
|
|
|
| 5 |
COPY . .
|
| 6 |
+
RUN pip install --upgrade pip && pip install fastmcp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
EXPOSE 7860
|
| 8 |
+
CMD ["python", "server.py"]
|
|
|