Files
coolify/backlog/tasks/task-00001.01 - Add-BuildKit-cache-mounts-to-Dockerfile.md

837 B

id, title, status, assignee, created_date, labels, dependencies, parent_task_id, priority
id title status assignee created_date labels dependencies parent_task_id priority
task-00001.01 Add BuildKit cache mounts to Dockerfile To Do
2025-08-26 12:19
docker
buildkit
performance
dockerfile
task-00001 high

Description

Modify the production Dockerfile to include BuildKit cache mounts for Composer and NPM dependencies to speed up subsequent builds by reusing cached dependency installations

Acceptance Criteria

  • #1 Cache mount for Composer dependencies is added at line 30 with --mount=type=cache target=/var/www/.composer/cache,Cache mount for NPM dependencies is added at line 41 with --mount=type=cache target=/root/.npm,Dockerfile syntax remains valid and builds successfully,All existing functionality is preserved with no regressions