Skip to content

Clarify phrasing in Part 9: Image-building best practices - Layer caching #130

Open
@johanperjulius1

Description

@johanperjulius1

Hi! I love the tutorial and I am almost at the end so thanks a lot!
However, in part 9 I have a an issue with the instructions;

The first set of instructions in Layer caching reads as follow:
1. Update the Dockerfile to copy in the package.json first, install dependencies, and then copy everything else in.

What does this mean? Update the Dockerfile (with what?) in order to copy in the package.json file into the Dockerfile?
Or should you copy in the Dockerfile into the package.json?

install dependencies? How?

Copy everything else in? What is everything else and from what file into what other?

I really don't mean to be rude, I just find the phrasing ambigous and think it could be simplified and clarified. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions