Skip to content

Commit ece08ed

Browse files
authored
clear npm cache after installing packages
1 parent 186afba commit ece08ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ RUN apk --no-cache --allow-untrusted -X https://apkproxy.herokuapp.com/sgerrand/
2525
RUN echo y | android update sdk -a -u -t platform-tools,${ANDROID_APIS},build-tools-${ANDROID_BUILD_TOOLS_VERSION}
2626
RUN chmod a+x -R $ANDROID_HOME
2727
RUN chown -R root:root $ANDROID_HOME
28-
RUN npm i -g --unsafe-perm cordova@${CORDOVA_VERSION} ionic@${IONIC_VERSION}
28+
RUN npm i -g --unsafe-perm cordova@${CORDOVA_VERSION} ionic@${IONIC_VERSION} && \
29+
npm cache clean

0 commit comments

Comments
 (0)