Skip to content

Error in guide to dockerizing nodejs #1344

Closed

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 /

Activity

  1. pierreneter commented on Aug 24, 2017

    @pierreneter
    Contributor

    I think it should be COPY package.json package-lock.json ./. can you submit a PR to fix this tutorial?

  2. rm-rf-etc commented on Aug 24, 2017

    @rm-rf-etc
    ContributorAuthor

    Created pull/1346. Sorry if I missed any aspects of standard protocol.

  3. pierreneter commented on Aug 24, 2017

    @pierreneter
    Contributor

    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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