Merge pull request #308 from umutesen/patch-1

Update index.md
This commit is contained in:
Michael Irwin 2023-01-06 14:34:35 -05:00 committed by GitHub
commit 1f24d456e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ see a few flaws in the Dockerfile below. But, don't worry! We'll go over them.
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN yarn install --production 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. 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.