Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
remove unnecessary apt install to just use one
  • Loading branch information
pabl-o-ce authored Apr 2, 2024
1 parent 85271e2 commit 8a5a82b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand All @@ -36,4 +32,4 @@ EXPOSE 5000
ENTRYPOINT ["python3"]

# Run main.py when the container launches
CMD ["main.py"]
CMD ["main.py"]

0 comments on commit 8a5a82b

Please sign in to comment.