Skip to content

Commit

Permalink
<build>(dockerfile): remove apt cache
Browse files Browse the repository at this point in the history
  • Loading branch information
david30907d committed Aug 6, 2020
1 parent 0d9386f commit bd22c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ RUN apt-get update \
python3-protobuf python3-termcolor python3-numpy \
# Install daemons
mosquitto mosquitto-clients \
apache2
apache2 \
&& rm -rf /var/lib/apt/lists/*

# Install python dependencies
WORKDIR /app
COPY poetry.lock poetry.lock
COPY pyproject.toml pyproject.toml

RUN pip3 install --no-cache-dir poetry \
&& poetry install --no-interaction --no-ansi --no-dev \
# Cleaning poetry installation's cache for production:
Expand Down

0 comments on commit bd22c28

Please sign in to comment.