Update Dockerfile

remove unnecessary apt install to just use one
This commit is contained in:
PΔBLØ ᄃΞ 2024-04-01 22:27:11 -05:00 committed by GitHub
parent 85271e2b7d
commit 8a5a82baec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]