Abhaykoul commited on
Commit
01c648f
·
verified ·
1 Parent(s): 37ab154

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- # Use Python 3.10 instead of 3.9
2
  FROM python:3.10
3
 
4
  RUN useradd -m -u 1000 user
@@ -10,6 +10,9 @@ COPY --chown=user ./requirements.txt requirements.txt
10
  # Upgrade pip, setuptools, and wheel
11
  RUN pip install --no-cache-dir --upgrade pip setuptools wheel
12
 
 
 
 
13
  # Install all dependencies except Webscout
14
  RUN grep -v "git+https://github.com/OE-LUCIFER/Webscout.git" requirements.txt > temp_requirements.txt && \
15
  pip install --no-cache-dir --upgrade -r temp_requirements.txt
 
1
+ # Use Python 3.10
2
  FROM python:3.10
3
 
4
  RUN useradd -m -u 1000 user
 
10
  # Upgrade pip, setuptools, and wheel
11
  RUN pip install --no-cache-dir --upgrade pip setuptools wheel
12
 
13
+ # Install psutil first (to fix the Webscout dependency issue)
14
+ RUN pip install --no-cache-dir psutil
15
+
16
  # Install all dependencies except Webscout
17
  RUN grep -v "git+https://github.com/OE-LUCIFER/Webscout.git" requirements.txt > temp_requirements.txt && \
18
  pip install --no-cache-dir --upgrade -r temp_requirements.txt