mirror of https://github.com/docker/docs.git
Add syntax directive to get started Dockerfile (#16299)
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
This commit is contained in:
parent
08bd9a168d
commit
71f5322f46
|
@ -77,6 +77,7 @@ In order to build the [container image](../get-started/overview.md/#docker-objec
|
|||
2. Using a text editor or code editor, add the following contents to the Dockerfile:
|
||||
|
||||
```dockerfile
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM node:18-alpine
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
|
Loading…
Reference in New Issue