MLOPs_end2end_api / Dockerfile
madchavez's picture
Configure FastAPI Docker Space
efa4e2a
Raw
History Blame Contribute Delete
255 Bytes
FROM python:3.12-slim
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir uv \
&& uv pip install --system . \
&& uv pip install --system pytest pytest-cov
EXPOSE 7860
CMD ["uvicorn", "serving.api:app", "--host", "0.0.0.0", "--port", "7860"]