everycure-ner-pdf / Dockerfile
Luis Chaves
first commit
73b49a2
raw
history blame
325 Bytes
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"]