FROM yaziciz/deepsurg_vllm_v1 | |
WORKDIR /app | |
# Create the conda environment from the environment file in /app. | |
RUN conda env create -f environment.yml | |
# Activate the environment 'ssgqa' and install opencv-python-headless within it. | |
RUN conda run -n ssgqa pip install opencv-python-headless --upgrade | |
# Run demo.py using the 'ssgqa' conda environment. | |
CMD ["conda", "run", "--no-capture-output", "-n", "ssgqa", "python", "demo.py"] | |