Merge pull request #20558 from vedantnaik19/patch-1

Update writing-a-dockerfile.md
This commit is contained in:
David Karlsson 2024-08-07 18:38:29 +02:00 committed by GitHub
commit d0e060dbee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ Now that you have the project, youre ready to create the `Dockerfile`.
4. Now, define the working directory by using the `WORKDIR` instruction. This will specify where future commands will run and the directory files will be copied inside the container image.
```dockerfile
WORKDIR /usr/local/app
WORKDIR /app
```
5. Copy all of the files from your project on your machine into the container image by using the `COPY` instruction: