We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24b19ef commit e1f4332Copy full SHA for e1f4332
1 file changed
ansible/roles/builder/templates/basic_node/Dockerfile
@@ -24,6 +24,10 @@ RUN {{ command }}
24
# Add package.json from the current build context (`.` is the repo) first
25
ADD ./repo/package.json /{{ name }}/package.json
26
27
+{% if name in ['api', 'api-worker'] %}
28
+ADD ./repo/npm-shrinkwrap.json /{{ name }}/npm-shrinkwrap.json
29
+{% endif %}
30
+
31
# install, should will skip if no package.json change
32
WORKDIR /{{ name }}
33
RUN npm install --production
0 commit comments