Spaces:
Runtime error
Runtime error
FROM python:3.12-slim | |
WORKDIR /code | |
# Copy only the necessary files | |
COPY ./app.py /code/ | |
COPY ./extractor.py /code/ | |
COPY ./pyproject.toml /code/ | |
COPY ./openapi.yaml /code/ | |
# Install dependencies | |
RUN pip install --no-cache-dir .[all] | |
# Run the application | |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |