gradio_text_summary / Dockerfile
bambadij's picture
add new
95d34f4
raw
history blame contribute delete
380 Bytes
FROM python:3.9
WORKDIR /app
RUN pip install --upgrade pip
RUN apt-get update && apt-get install -y \
tesseract-ocr \
tesseract-ocr-fra \
libtesseract-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt -r requirements.txt
COPY ./app.py .
EXPOSE 7860
CMD ["python","app.py"]