apec-segment / Dockerfile
FatemehT's picture
Configure Git LFS and remove binary files from direct git storage
76b0572
FROM python:3.11-slim
WORKDIR /app
# Install system packages required by scientific Python stack and OpenCV
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
git \
curl \
libgl1 \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false \
PYTHONUNBUFFERED=1
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8501
CMD ["streamlit", "run", "angioPySegmentation.py", "--server.fileWatcherType", "none"]