diff --git a/Dockerfile b/Dockerfile index 6cf135389..58b99961b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ ENV NODE_ENV=production RUN apk update RUN apk upgrade -RUN apk --no-cache add dumb-init skopeo curl bash python3 +RUN apk --no-cache add dumb-init skopeo curl bash python3 git RUN addgroup -S -g 10001 snyk RUN adduser -S -G snyk -h /srv/app -u 10001 snyk @@ -55,7 +55,7 @@ ADD --chown=snyk:snyk package.json package-lock.json ./ # TODO: Remove this line once OpenShift 3 comes out of support. RUN mkdir -p .config -RUN npm ci +RUN npm i # add the rest of the app files ADD --chown=snyk:snyk . .