We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5027a5b commit f3c2691Copy full SHA for f3c2691
app/Dockerfile
@@ -23,6 +23,13 @@ RUN apk update && apk --no-cache upgrade && apk add --no-cache \
23
tcpdump
24
25
COPY . .
26
+COPY ../package.json /tmp/root-package.json
27
+COPY ./package.json /tmp/app-package.json
28
+
29
+# Merge package.json files
30
+RUN jq -s '.[0] * .[1]' /tmp/root-package.json /tmp/app-package.json > /tmp/merged-package.json
31
32
+COPY /tmp/merged-package.json /usr/src/app/package.json
33
34
RUN yarn install \
35
--prefer-offline \
0 commit comments