Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -8,8 +8,7 @@ RUN apt-get update && \
|
|
8 |
procps \
|
9 |
git \
|
10 |
wget \
|
11 |
-
lsof \
|
12 |
-
sudo && \
|
13 |
rm -rf /var/lib/apt/lists/*
|
14 |
|
15 |
# Set working directory
|
@@ -19,7 +18,7 @@ WORKDIR /app
|
|
19 |
COPY requirements.txt .
|
20 |
COPY src/ ./src/
|
21 |
COPY *.py ./
|
22 |
-
COPY execute.sh ./execute.sh
|
23 |
|
24 |
# Install Python dependencies
|
25 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
8 |
procps \
|
9 |
git \
|
10 |
wget \
|
11 |
+
lsof && \ # Remove sudo from here
|
|
|
12 |
rm -rf /var/lib/apt/lists/*
|
13 |
|
14 |
# Set working directory
|
|
|
18 |
COPY requirements.txt .
|
19 |
COPY src/ ./src/
|
20 |
COPY *.py ./
|
21 |
+
COPY execute.sh ./execute.sh # Ensure the script is copied with its filename
|
22 |
|
23 |
# Install Python dependencies
|
24 |
RUN pip install --no-cache-dir -r requirements.txt
|