Spaces:
Build error
Build error
File size: 436 Bytes
4c4bb87 e738f10 4c4bb87 e738f10 | 1 2 3 4 5 6 7 8 9 10 11 12 | FROM python:3.9.18-slim-bullseye
WORKDIR /app
RUN apt-get update && apt-get -y upgrade && apt-get install -y ffmpeg
RUN mkdir /app/data && mkdir /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
RUN pip install -r requirements.txt
EXPOSE 8501
CMD ["streamlit", "run", "streamlit_app.py", "--server.port", "8501"]
|