From 302bbda11ac130c81f0284d5186d327ddb01e0d4 Mon Sep 17 00:00:00 2001 From: Umut Esen Date: Sun, 30 Oct 2022 20:53:20 +0000 Subject: [PATCH] Update index.md Fix index.js path to avoid error thrown at startup --- 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 2814534..22c9671 100644 --- a/docs/tutorial/our-application/index.md +++ b/docs/tutorial/our-application/index.md @@ -43,7 +43,7 @@ see a few flaws in the Dockerfile below. But, don't worry! We'll go over them. WORKDIR /app COPY . . RUN yarn install --production - CMD ["node", "src/index.js"] + CMD ["node", "./src/index.js"] ``` Please check that the file `Dockerfile` has no file extension like `.txt`. Some editors may append this file extension automatically and this would result in an error in the next step.