nkeerthi/H4_ComputerVision
0
1FROM python:3.11-bookworm2 3COPY requirements.txt requirements.txt4 5RUN apt-get update && apt-get install -y --no-install-recommends \6 bzip2 \7 g++ \8 git \9 graphviz \10 libgl1-mesa-glx \11 libhdf5-dev \12 openmpi-bin \13 wget \14 python3-tk && \15 rm -rf /var/lib/apt/lists/*16 17RUN pip install --upgrade pip18 19RUN pip install --no-cache-dir -r requirements.txt20 21RUN useradd -m -u 1000 myuser22 23USER myuser24 25COPY --chown=myuser app app26 27EXPOSE 800128 29CMD ["python", "app/main.py"]