We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7dd833 + f790faa commit c37c714Copy full SHA for c37c714
Dockerfile
@@ -35,6 +35,11 @@ COPY --chown=snyk:snyk --from=skopeo-build /etc/containers/policy.json /etc/cont
35
# Add manifest files and install before adding anything else to take advantage of layer caching
36
ADD --chown=snyk:snyk package.json package-lock.json .snyk ./
37
38
+# The `.config` directory is used by `snyk protect` and we also mount a K8s volume there at runtime.
39
+# This clashes with OpenShift 3 which mounts things differently and prevents access to the directory.
40
+# TODO: Remove this line once OpenShift 3 comes out of support.
41
+RUN mkdir -p .config
42
+
43
RUN npm install
44
45
# add the rest of the app files
0 commit comments