Upgrade pip and install packaging package using pip
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -4,6 +4,12 @@ FROM python:3.10
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /usr/src/app
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
# Copy the current directory contents into the container at /usr/src/app
|
8 |
COPY . .
|
9 |
|
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /usr/src/app
|
6 |
|
7 |
+
# Upgrade pip to the specified version
|
8 |
+
RUN pip install --upgrade pip==23.0
|
9 |
+
|
10 |
+
# Install the 'packaging' package using pip
|
11 |
+
RUN pip install packaging
|
12 |
+
|
13 |
# Copy the current directory contents into the container at /usr/src/app
|
14 |
COPY . .
|
15 |
|