Spaces:
Running
Running
Commit
·
71c416a
1
Parent(s):
caea8b7
update
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -8,7 +8,7 @@ WORKDIR /code
|
|
8 |
|
9 |
COPY ./requirements.txt /code/requirements.txt
|
10 |
|
11 |
-
RUN apt-get -y update && apt-get -y install -y python3-pip
|
12 |
|
13 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
14 |
|
@@ -22,6 +22,11 @@ USER user
|
|
22 |
ENV HOME=/home/user \
|
23 |
PATH=/home/user/.local/bin:$PATH
|
24 |
|
|
|
|
|
|
|
|
|
|
|
25 |
# Set the working directory to the user's home directory
|
26 |
WORKDIR $HOME/app
|
27 |
|
|
|
8 |
|
9 |
COPY ./requirements.txt /code/requirements.txt
|
10 |
|
11 |
+
RUN apt-get -y update && apt-get -y install -y python3-pip python-is-python3
|
12 |
|
13 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
14 |
|
|
|
22 |
ENV HOME=/home/user \
|
23 |
PATH=/home/user/.local/bin:$PATH
|
24 |
|
25 |
+
WORKDIR /
|
26 |
+
|
27 |
+
RUN git clone https://github.com/edmcman/DIRTY
|
28 |
+
RUN pip install --no-cache-dir --upgrade -r /DIRTY/requirements.txt
|
29 |
+
|
30 |
# Set the working directory to the user's home directory
|
31 |
WORKDIR $HOME/app
|
32 |
|