We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a835a5c commit 783ade2Copy full SHA for 783ade2
1 file changed
ansible/roles/builder/templates/basic_node/Dockerfile
@@ -27,7 +27,7 @@ ADD ./repo/package.json /{{ name }}/package.json
27
28
# Add shrinkwrap from the current build context (`.` is the repo) first
29
# If we change a non first-level dependency, this will break cache as expected
30
-{% if has_shrinkwrap %}
+{% if has_shrinkwrap is defined %}
31
ADD ./repo/npm-shrinkwrap.json /{{ name }}/npm-shrinkwrap.json
32
{% endif %}
33
0 commit comments