Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +0 -5
Dockerfile
CHANGED
@@ -15,7 +15,6 @@ RUN apt install python3.10-distutils -y
|
|
15 |
|
16 |
# installing other libraries
|
17 |
RUN apt-get install python3-pip -y && apt-get -y install sudo
|
18 |
-
RUN apt-get install python3-venv -y
|
19 |
RUN apt-get update && apt-get install -y git
|
20 |
|
21 |
# Set up a new user named "user" with user ID 1000
|
@@ -47,10 +46,6 @@ RUN chmod -R 777 ${HOME}
|
|
47 |
|
48 |
RUN pwd
|
49 |
|
50 |
-
# Setting virtual environment
|
51 |
-
RUN python3 -m venv .venv
|
52 |
-
ENV PATH="$HOME/app/.venv/bin:$PATH"
|
53 |
-
|
54 |
# Install any needed packages specified in requirements.txt
|
55 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
56 |
|
|
|
15 |
|
16 |
# installing other libraries
|
17 |
RUN apt-get install python3-pip -y && apt-get -y install sudo
|
|
|
18 |
RUN apt-get update && apt-get install -y git
|
19 |
|
20 |
# Set up a new user named "user" with user ID 1000
|
|
|
46 |
|
47 |
RUN pwd
|
48 |
|
|
|
|
|
|
|
|
|
49 |
# Install any needed packages specified in requirements.txt
|
50 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
51 |
|