Spaces:
Paused
Paused
tmzh
commited on
Commit
·
d435b5e
1
Parent(s):
e04cdba
install requirements.txt
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -20,6 +20,9 @@ ADD . /app
|
|
20 |
# Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
|
21 |
RUN pip install --no-cache-dir --upgrade pip
|
22 |
|
|
|
|
|
|
|
23 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
24 |
COPY --chown=user . $HOME/app
|
25 |
|
|
|
20 |
# Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
|
21 |
RUN pip install --no-cache-dir --upgrade pip
|
22 |
|
23 |
+
# Install any needed packages specified in requirements.txt
|
24 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
25 |
+
|
26 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
27 |
COPY --chown=user . $HOME/app
|
28 |
|