Skip to content

Commit

Permalink
build: reduce image size by removing unnecessary packages
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobLichterfeld committed Mar 17, 2024
1 parent 8c64654 commit 6b65441
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Enhancements

- doc: update Docker installation instructions in the README and change to docker compose v2
- build: reduce image size by removing unnecessary packages

### Bug Fixes

Expand Down
11 changes: 0 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ ENV PYTHONDONTWRITEBYTECODE 1
# Turns off buffering for easier container logging
ENV PYTHONUNBUFFERED 1

# Install the application dependencies
RUN apt-get update && apt-get install -y \
build-essential \
libffi-dev \
libssl-dev \
python3-dev \
openssl \
cargo \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Upgrade pip
RUN python -m pip install --upgrade pip

Expand Down

0 comments on commit 6b65441

Please sign in to comment.