Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
|
|
11 |
rsync \
|
12 |
libgl1-mesa-glx \
|
13 |
curl \
|
|
|
14 |
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
|
15 |
&& rm -rf /var/lib/apt/lists/* \
|
16 |
&& git lfs install
|
@@ -21,6 +22,9 @@ ENV PATH="/root/.cargo/bin:${PATH}"
|
|
21 |
# Set working directory
|
22 |
WORKDIR /home/user/app
|
23 |
|
|
|
|
|
|
|
24 |
# Copy the requirements file
|
25 |
COPY requirements.txt .
|
26 |
|
|
|
11 |
rsync \
|
12 |
libgl1-mesa-glx \
|
13 |
curl \
|
14 |
+
build-essential \
|
15 |
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
|
16 |
&& rm -rf /var/lib/apt/lists/* \
|
17 |
&& git lfs install
|
|
|
22 |
# Set working directory
|
23 |
WORKDIR /home/user/app
|
24 |
|
25 |
+
# Upgrade pip
|
26 |
+
RUN pip install --no-cache-dir --upgrade pip
|
27 |
+
|
28 |
# Copy the requirements file
|
29 |
COPY requirements.txt .
|
30 |
|