AnesSAD's picture
Adding docker file for version problem
95fe061
Raw History Blame Contribute Delete
420 Bytes
FROM python:3.11-slim
RUN apt-get update && apt-get install -y \
git \
git-lfs \
ffmpeg \
libsm6 \
libxext6 \
libgl1 \
&& rm -rf /var/lib/apt/lists/* \
&& git lfs install
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -U pip && \
pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]