document-converter / Dockerfile
whitepeacock's picture
Update Dockerfile
308f7d5 verified
Raw
History Blame Contribute Delete
251 Bytes
FROM python:3.10
RUN apt-get update && apt-get install -y libreoffice poppler-utils
WORKDIR /app
COPY . /app
RUN pip install fastapi uvicorn python-multipart PyPDF2 pillow pdf2image
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]