SurgVLLM / Dockerfile
yaziciz's picture
Update Dockerfile
83c3d5e verified
raw
history blame
488 Bytes
FROM yaziciz/deepsurg_vllm_v1
WORKDIR /app
RUN useradd -m -u 1000 user
USER user
RUN chown -R user:user /app
# Install system dependency required for OpenCV.
RUN apt-get update && apt-get install -y libgl1-mesa-glx
# Create the conda environment from the environment file in /app.
RUN conda env create -f environment.yml
COPY --chown=user:user . /app
# Run demo.py using the 'ssgqa' conda environment.
CMD ["conda", "run", "--no-capture-output", "-n", "ssgqa", "python", "demo.py"]