Update writing-a-dockerfile.md

This is to point out, clearly, that the image is not secure as it is currently configured.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
olu-fola 2024-07-24 16:46:40 +01:00 committed by David Karlsson
parent 6488f1465e
commit 2b3ee39476
1 changed files with 1 additions and 2 deletions

View File

@ -120,8 +120,7 @@ Now that you have the project, youre ready to create the `Dockerfile`.
>
> It's important to note that this Dockerfile is _not_ following all
> of the best practices yet (by design). It will build the app, but the
> builds won't be as fast as they could be and the image could be made
> more secure.
> builds won't be as fast, or the images as secure, as they could be.
>
> Keep reading to learn more about how to make the image maximize the
> build cache, run as a non-root user, and multi-stage builds.