Update index.md
It is unclear where to put the Dockerfile. If you put it next to the `app` dir, the build will still succeed but the image will fail to start.
This commit is contained in:
parent
b9fe2cd927
commit
3063486aff
@ -35,7 +35,7 @@ Dockerfile is simply a text-based script of instructions that is used to
|
||||
create a container image. If you've created Dockerfiles before, you might
|
||||
see a few flaws in the Dockerfile below. But, don't worry! We'll go over them.
|
||||
|
||||
1. Create a file named Dockerfile with the following contents.
|
||||
1. Create a file named Dockerfile with the following contents. Place this file under the `app` directory.
|
||||
|
||||
```dockerfile
|
||||
FROM node:12-alpine
|
||||
|
Loading…
Reference in New Issue
Block a user