Spaces:
Running
Running
File size: 460 Bytes
59e5631 bb3fd3a 59e5631 bb3fd3a 59e5631 48a5b6e bb3fd3a 48a5b6e 79d26c1 ea7629e bb3fd3a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
FROM python:3.9
RUN pip install --user --upgrade pip
RUN apt-get update && apt-get install -y ffmpeg
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
RUN mkdir -p /tmq
RUN chmod 777 /tmp
RUN mkdir -p /.cache
RUN chmod 777 /.cache
ENV PYTHONPATH "${PYTHONPATH}:/app"
EXPOSE 7860
HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
ENTRYPOINT ["streamlit", "run", "app/main.py", "--server.port=7860", "--server.address=0.0.0.0"] |