Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -4,6 +4,8 @@ ENV DEBIAN_FRONTEND=noninteractive \
|
|
4 |
|
5 |
# Remove any third-party apt sources to avoid issues with expiring keys.
|
6 |
# Install some basic utilities
|
|
|
|
|
7 |
RUN rm -f /etc/apt/sources.list.d/*.list && \
|
8 |
apt-get update && apt-get install -y --no-install-recommends \
|
9 |
curl \
|
@@ -45,9 +47,6 @@ ENV HOME=/home/user
|
|
45 |
RUN mkdir $HOME/.cache $HOME/.config \
|
46 |
&& chmod -R 777 $HOME
|
47 |
|
48 |
-
RUN apt-get install python3
|
49 |
-
RUN apt-get install python3-pip
|
50 |
-
|
51 |
WORKDIR $HOME/app
|
52 |
COPY requirements.txt ./
|
53 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
4 |
|
5 |
# Remove any third-party apt sources to avoid issues with expiring keys.
|
6 |
# Install some basic utilities
|
7 |
+
RUN apt-get install python3
|
8 |
+
RUN apt-get install python3-pip
|
9 |
RUN rm -f /etc/apt/sources.list.d/*.list && \
|
10 |
apt-get update && apt-get install -y --no-install-recommends \
|
11 |
curl \
|
|
|
47 |
RUN mkdir $HOME/.cache $HOME/.config \
|
48 |
&& chmod -R 777 $HOME
|
49 |
|
|
|
|
|
|
|
50 |
WORKDIR $HOME/app
|
51 |
COPY requirements.txt ./
|
52 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|