SurgVLLM / Dockerfile
yaziciz's picture
Update Dockerfile
82fc421 verified
raw
history blame
523 Bytes
FROM yaziciz/deepsurg_vllm_v1
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
COPY --chown=user . $HOME/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
# Run demo.py using the 'ssgqa' conda environment.
CMD ["conda", "run", "--no-capture-output", "-n", "ssgqa", "python", "demo.py"]