diff --git a/Dockerfile.sakuli-base b/Dockerfile.sakuli-base index b839538..3af915c 100644 --- a/Dockerfile.sakuli-base +++ b/Dockerfile.sakuli-base @@ -28,7 +28,8 @@ ENV REFRESHED_AT=${BUILD_DATE} \ VNC_PW=vncpassword \ VNC_VIEW_ONLY=false \ IMG=taconsol/sakuli-base \ - TESSDATA_PREFIX=/usr/local/share/tessdata + TESSDATA_PREFIX=/usr/local/share/tessdata \ + npm_config_cache=/headless/.npm_cache EXPOSE $VNC_PORT $NO_VNC_PORT @@ -117,7 +118,7 @@ COPY ./src/common/env/ $STARTUPDIR/env COPY ./src/common/firefox_profile/certificate-profile $HOME/firefox-certificates/ COPY ./src/common/chrome_certificate_store/ $HOME/.pki/ -RUN mkdir -m 777 /headless/.config +RUN mkdir -m 777 /headless/.config && mkdir -m 777 /headless/.npm_cache && mkdir -m 777 /headless/.mozilla RUN $INST_SCRIPTS/set_user_permission.sh $HOME @@ -129,4 +130,3 @@ USER 1000:1000 ### Install nvm RUN $INST_SCRIPTS/nvm.sh $NODE_VERSION -RUN chmod 777 /headless/.npm && mkdir -m 777 /headless/.mozilla