Text-Match-Cut / Dockerfile
Siam2315's picture
Update Dockerfile
4daab41 verified
raw
history blame contribute delete
310 Bytes
FROM python:3.8-slim
WORKDIR /app
COPY requirements.txt .
RUN apt-get update && apt-get install -y ffmpeg && pip install -r requirements.txt
COPY . .
ENV MPLCONFIGDIR=/tmp/mplcache
ENV FLASK_APP=app.py
ENV FLASK_RUN_HOST=0.0.0.0
ENV UPLOAD_FOLDER=/tmp/output
EXPOSE 7860
CMD ["flask", "run", "--port=7860"]