Skip to content

Commit

Permalink
chore: smaller image (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quadrubo authored Jul 18, 2023
1 parent 9bee56e commit 549113d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
cron \
htop \
iputils-ping \
openssh-client \
# Needed for envsubst
Expand Down Expand Up @@ -46,6 +45,8 @@ RUN composer install --no-interaction --prefer-dist --optimize-autoloader --no-d
RUN npm pkg delete scripts.prepare
RUN npm ci \
&& npm run build \
&& npm cache clean --force
# Clean up
&& npm cache clean --force \
&& rm -rf node_modules

VOLUME /config

0 comments on commit 549113d

Please sign in to comment.