yaziciz commited on
Commit
f13c947
·
verified ·
1 Parent(s): d32cc7f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,7 +1,11 @@
1
  FROM yaziciz/deepsurg_vllm_v1
2
  WORKDIR /app
3
 
 
4
  RUN conda env create -f environment.yml
5
- RUN pip install opencv-python-headless --upgrade
6
 
 
 
 
 
7
  CMD ["conda", "run", "--no-capture-output", "-n", "ssgqa", "python", "demo.py"]
 
1
  FROM yaziciz/deepsurg_vllm_v1
2
  WORKDIR /app
3
 
4
+ # Create the conda environment from the environment file in /app.
5
  RUN conda env create -f environment.yml
 
6
 
7
+ # Activate the environment 'ssgqa' and install opencv-python-headless within it.
8
+ RUN conda run -n ssgqa pip install opencv-python-headless --upgrade
9
+
10
+ # Run demo.py using the 'ssgqa' conda environment.
11
  CMD ["conda", "run", "--no-capture-output", "-n", "ssgqa", "python", "demo.py"]