Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Use Python 3.10
|
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
|