Spaces:
Sleeping
Sleeping
File size: 757 Bytes
4c4bb87 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | FROM python:3.9.18-slim-bullseye
# Set the working directory to /app
WORKDIR /app
# install ffmpeg
RUN apt-get update && apt-get -y upgrade
# Create folders
RUN mkdir /app/data
RUN mkdir /app/.streamlit
# Copy the current directory contents into the container at /app
COPY requirements.txt /app/requirements.txt
COPY .streamlit/config.toml /app/.streamlit/config.toml
COPY streamlit_app.py /app
# Install any needed packages specified in requirements.txt
RUN pip install --upgrade pip
# RUN pip install manimpango
RUN pip install -r requirements.txt
# Make port 8502 available to the world outside this container
EXPOSE 8502
# Run app.py when the container launches
CMD ["streamlit", "run", "streamlit_app.py", "--server.port", "8502","> dev/null"]
|