Skip to content

Error in guide to dockerizing nodejs #1344

Closed
@rm-rf-etc

Description

@rm-rf-etc

The following instruction, given by the above tutorial, causes a build to fail.
COPY package.json package-lock.json .

The error message reads:

Step 3/7 : COPY ./package.json ./package-lock.json .
When using COPY with more than one source file, the destination must be a directory and end with a /

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions