Update Dockerfile
remove unnecessary apt install to just use one
This commit is contained in:
parent
85271e2b7d
commit
8a5a82baec
1 changed files with 1 additions and 5 deletions
|
|
@ -9,10 +9,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
build-essential \
|
||||
curl \
|
||||
ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Python and pip
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
python3.11 \
|
||||
python3-pip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
|
@ -36,4 +32,4 @@ EXPOSE 5000
|
|||
ENTRYPOINT ["python3"]
|
||||
|
||||
# Run main.py when the container launches
|
||||
CMD ["main.py"]
|
||||
CMD ["main.py"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue