Skip to content

Docker build is failing on npm install --production command #27

@ranarauf68

Description

@ranarauf68

Deploy script is failing where it tries to build a docker image at this line.

docker build -t "cloudformation-lambda-$function" .

The error is:
The command '/bin/sh -c npm install --production' returned a non-zero code: 132.

In Dockerfile, this is the particular line which is failing:

RUN npm install --production

I tried googling it but none of the proposed solutions is working. Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions