Update index.md
Changed line 42 This change will help new users who follows this tutorial to get a working container as a result from building using the dockerfile commands proposed in lines 40-44, as expected to be. See issue #121
This commit is contained in:
parent
3de6451f5c
commit
78de317ccb
@ -39,7 +39,7 @@ see a few flaws in the Dockerfile below. But, don't worry! We'll go over them.
|
|||||||
```dockerfile
|
```dockerfile
|
||||||
FROM node:12-alpine
|
FROM node:12-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . /
|
||||||
RUN yarn install --production
|
RUN yarn install --production
|
||||||
CMD ["node", "src/index.js"]
|
CMD ["node", "src/index.js"]
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user