mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-19 21:09:27 +00:00
Update Dockerfile_Tips.md
Updated the chown to chmod as its repeated.
This commit is contained in:
committed by
Jérôme Petazzoni
parent
abca33af29
commit
aa4c0846ca
@@ -82,7 +82,7 @@ CMD ["python", "app.py"]
|
||||
|
||||
* Layers cannot represent efficiently when a file is moved either.
|
||||
|
||||
* As a result, operations like `chown`, `chown`, `mv` can be expensive.
|
||||
* As a result, operations like `chown`, `chmod`, `mv` can be expensive.
|
||||
|
||||
* For instance, in the Dockerfile snippet below, each `RUN` line
|
||||
creates a layer with an entire copy of `some-file`.
|
||||
|
||||
Reference in New Issue
Block a user