Skip to content

Commit

Permalink
Merge pull request docker#50 from erichays/best-practices-fix
Browse files Browse the repository at this point in the history
Match output to input and clarify build command
  • Loading branch information
StefanScherer authored Jun 29, 2020
2 parents ef2a395 + 1c571de commit c9ac9f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorial/image-building-best-practices/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ a change to the `package.json`. Make sense?
Step 2/6 : WORKDIR /app
---> Using cache
---> 9577ae713121
Step 3/6 : COPY package* yarn.lock ./
Step 3/6 : COPY package.json yarn.lock ./
---> bd5306f49fc8
Step 4/6 : RUN yarn install --production
---> Running in d53a06c9e4c2
Expand Down Expand Up @@ -137,7 +137,7 @@ a change to the `package.json`. Make sense?
1. Now, make a change to the `src/static/index.html` file (like change the `<title>` to say "The Awesome Todo App").
1. Build the Docker image now using `docker build` again. This time, your output should look a little different.
1. Build the Docker image now using `docker build -t getting-started .` again. This time, your output should look a little different.
```plaintext hl_lines="5 8 11"
Sending build context to Docker daemon 219.1kB
Expand All @@ -146,7 +146,7 @@ a change to the `package.json`. Make sense?
Step 2/6 : WORKDIR /app
---> Using cache
---> 9577ae713121
Step 3/6 : COPY package* yarn.lock ./
Step 3/6 : COPY package.json yarn.lock ./
---> Using cache
---> bd5306f49fc8
Step 4/6 : RUN yarn install --production
Expand Down

0 comments on commit c9ac9f2

Please sign in to comment.