SurgVLLM / Dockerfile
yaziciz's picture
Update Dockerfile
96198fb verified
raw
history blame
588 Bytes
FROM yaziciz/deepsurg_vllm_v1
# Install system dependency required for OpenCV.
RUN apt-get update && apt-get install -y libgl1-mesa-glx
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
# Copy all files into the app directory and ensure ownership.
COPY --chown=user . $HOME/app
# Create the conda environment using the absolute path.
RUN conda env create -f $HOME/app/environment.yml
# Run demo.py using the 'ssgqa' conda environment.
CMD ["conda", "run", "--no-capture-output", "-n", "ssgqa", "python", "demo.py"]