File size: 381 Bytes
59e5631
 
 
bb3fd3a
59e5631
bb3fd3a
59e5631
 
 
bb3fd3a
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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


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"]