|
|
|
FROM python:3.9-slim |
|
|
|
|
|
RUN apt-get update && apt-get install -y \ |
|
libopus0 \ |
|
libgstreamer1.0-0 \ |
|
gstreamer1.0-plugins-base \ |
|
gstreamer1.0-plugins-good \ |
|
gstreamer1.0-plugins-bad \ |
|
gstreamer1.0-plugins-ugly \ |
|
gstreamer1.0-libav \ |
|
gstreamer1.0-doc \ |
|
gstreamer1.0-tools \ |
|
libgstreamer-plugins-base1.0-dev \ |
|
libssl-dev \ |
|
libffi-dev \ |
|
&& apt-get clean |
|
|
|
|
|
WORKDIR /app |
|
|
|
|
|
COPY requirements.txt . |
|
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt |
|
|
|
|
|
COPY . . |
|
|
|
|
|
EXPOSE 8501 |
|
|
|
|
|
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] |