Fix Dockerfile
This commit is contained in:
parent
3d25688269
commit
a054dd4276
1 changed files with 4 additions and 4 deletions
|
|
@ -7,12 +7,12 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||
|
||||
# Update the package list and install Python and pip
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
python3.11 \
|
||||
python3-pip \
|
||||
python3.11-dev \
|
||||
&& apt-get clean \
|
||||
python3.11 python3-pip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Upgrade pip to the latest version
|
||||
RUN pip3 install -U pip
|
||||
|
||||
# Set a working directory
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue