]> prime8.dev >> repos - ttyd.git/commit
Leverage Docker Layer System (#1191)
authorGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Mon, 2 Oct 2023 06:48:25 +0000 (08:48 +0200)
committerGitHub <noreply@github.com>
Mon, 2 Oct 2023 06:48:25 +0000 (14:48 +0800)
commitc4beea2d0a7e49fb0005bb7092cf6533d15dc314
tree2e5a6a50ba14a6b8f34303b721ea45c4ad8cbaa6
parent7a57d767211f6cf411481161ff47ee903f0a56c0
Leverage Docker Layer System (#1191)

Dockerfile best practices recommend to move the installation of external dependencies before specific code.
This will improve local development experience by improving Docker cache management
and it will improve final Docker images compaction by sharing the first layers.
Dockerfile
Dockerfile.alpine