From 218b917cb632ba9cdcb1a546dc8e56a18bcbdea2 Mon Sep 17 00:00:00 2001 From: saulukas Date: Wed, 13 May 2020 16:26:10 +0300 Subject: [PATCH] Fix: 'COPY . .' should be changed to 'COPY ./app .' for the yarn install to work with a first sample Dockerfile --- docs/tutorial/our-application/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/our-application/index.md b/docs/tutorial/our-application/index.md index 4b39153..c002ad7 100644 --- a/docs/tutorial/our-application/index.md +++ b/docs/tutorial/our-application/index.md @@ -40,7 +40,7 @@ see a few flaws in the Dockerfile below. But, don't worry! We'll go over them. ```dockerfile FROM node:12-alpine WORKDIR /app - COPY . . + COPY ./app . RUN yarn install --production CMD ["node", "/app/src/index.js"] ```