mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-20 17:52:51 +00:00
Add an npm dedupe call to reduce image size.
This commit is contained in:
parent
7bf0637347
commit
1f6d3acb0c
@ -23,6 +23,7 @@ COPY package.json postinstall.sh /app/
|
||||
RUN apt-get -q update \
|
||||
&& apt-get install -qqy g++ git libsqlite3-dev make ssh-client --no-install-recommends \
|
||||
&& npm install --unsafe-perm --production \
|
||||
&& npm dedupe \
|
||||
&& npm cache clean \
|
||||
&& apt-get purge -qqy g++ git libsqlite3-dev make ssh-client \
|
||||
&& apt-get clean \
|
||||
|
Loading…
x
Reference in New Issue
Block a user