25 lines
837 B
Markdown
25 lines
837 B
Markdown
---
|
|
id: task-00001.01
|
|
title: Add BuildKit cache mounts to Dockerfile
|
|
status: To Do
|
|
assignee: []
|
|
created_date: '2025-08-26 12:19'
|
|
labels:
|
|
- docker
|
|
- buildkit
|
|
- performance
|
|
- dockerfile
|
|
dependencies: []
|
|
parent_task_id: task-00001
|
|
priority: 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
|
|
<!-- AC:BEGIN -->
|
|
- [ ] #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
|
|
<!-- AC:END -->
|