Abhaykoul commited on
Commit
e2b1a14
·
verified ·
1 Parent(s): 06d5101

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -6,11 +6,12 @@ WORKDIR /app
6
 
7
  COPY --chown=user ./requirements.txt requirements.txt
8
 
9
- # Install primp first to avoid missing dependency
10
- RUN pip install --no-cache-dir primp==0.14.0
 
11
 
12
- # Then install everything else
13
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY --chown=user . /app
16
 
 
6
 
7
  COPY --chown=user ./requirements.txt requirements.txt
8
 
9
+ # Install everything except Webscout
10
+ RUN grep -v "git+https://github.com/OE-LUCIFER/Webscout.git" requirements.txt > temp_requirements.txt && \
11
+ pip install --no-cache-dir --upgrade -r temp_requirements.txt
12
 
13
+ # Now install Webscout separately
14
+ RUN pip install --no-cache-dir git+https://github.com/OE-LUCIFER/Webscout.git
15
 
16
  COPY --chown=user . /app
17