Answers for "docker error "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation."

0

docker error "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.

//Add next line
# syntax=docker/dockerfile:1
FROM node:12-alpine
RUN apk add --no-cache python2 g++ make  <--- this line resolve error
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]
Posted by: Guest on March-22-2022

Code answers related to "docker error "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation."

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language