Spaces:
Paused
Paused
BinaryONe commited on
Commit ·
a6514f8
1
Parent(s): 6786cf8
Changes
Browse files- Dockerfile +2 -2
- Dockerfile1 +4 -4
Dockerfile
CHANGED
|
@@ -61,8 +61,8 @@ RUN groupadd -f administrator && \
|
|
| 61 |
|
| 62 |
# Install WebSSH dependencies
|
| 63 |
#RUN python3 -m venv /app/venv && \
|
| 64 |
-
RUN
|
| 65 |
-
|
| 66 |
|
| 67 |
# Set working directory
|
| 68 |
WORKDIR /app
|
|
|
|
| 61 |
|
| 62 |
# Install WebSSH dependencies
|
| 63 |
#RUN python3 -m venv /app/venv && \
|
| 64 |
+
RUN pip3 install --no-cache-dir --upgrade pip && \
|
| 65 |
+
pip3 install --no-cache-dir -r /app/WebSSH/requirements.txt
|
| 66 |
|
| 67 |
# Set working directory
|
| 68 |
WORKDIR /app
|
Dockerfile1
CHANGED
|
@@ -63,10 +63,10 @@ RUN ls -l /etc/ssh/ && \
|
|
| 63 |
ls -l /app/ssh/
|
| 64 |
|
| 65 |
# Install WebSSH
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
pip install --no-cache-dir
|
| 69 |
-
pip list
|
| 70 |
|
| 71 |
# Set the working directory
|
| 72 |
WORKDIR /app
|
|
|
|
| 63 |
ls -l /app/ssh/
|
| 64 |
|
| 65 |
# Install WebSSH
|
| 66 |
+
RUN python3 -m venv /app/venv && \
|
| 67 |
+
/app/venv/bin/pip install --no-cache-dir --upgrade pip && \
|
| 68 |
+
/app/venv/bin/pip install --no-cache-dir webssh && \
|
| 69 |
+
/app/venv/bin/pip list
|
| 70 |
|
| 71 |
# Set the working directory
|
| 72 |
WORKDIR /app
|