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.
1 parent 398aed1 commit cf66a61Copy full SHA for cf66a61
1 file changed
Dockerfile
@@ -8,7 +8,7 @@ RUN mkdir -p /nodejs/node_modules/
8
# Install dev dependencies
9
COPY . datadog-lambda-js
10
WORKDIR /datadog-lambda-js
11
-RUN yarn install
+RUN yarn install --ignore-engines
12
13
# Build the lambda layer
14
RUN yarn build
@@ -39,7 +39,7 @@ RUN rm -rf node_modules
39
RUN node ./scripts/move_ddtrace_dependency.js "$(cat package.json)" > package-new.json
40
RUN mv package-new.json package.json
41
# Install dependencies
42
-RUN yarn install --production=true --ignore-optional
+RUN yarn install --production=true --ignore-optional --ignore-engines
43
# Copy the dependencies to the modules folder
44
RUN cp -rf node_modules/* /nodejs/node_modules
45
0 commit comments