File size: 481 Bytes
8c79112
4c4bb87
8c79112
 
 
 
 
 
 
4c4bb87
 
 
8c79112
 
 
 
e738f10
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM python:3.11-slim-bullseye
WORKDIR /app

RUN apt-get update && apt-get -y upgrade && \
    apt-get install -y ffmpeg && \
    rm -rf /var/lib/apt/lists/*

RUN mkdir -p /app/data /app/.streamlit

COPY requirements.txt /app/requirements.txt
COPY .streamlit/config.toml /app/.streamlit/config.toml
COPY streamlit_app.py /app

RUN pip install --upgrade pip && \
    pip install -r requirements.txt

EXPOSE 8501
CMD ["streamlit", "run", "streamlit_app.py", "--server.port", "8501"]