Mechanical fixes per docker-build-optimization-roadmap.md §6.D.2:
- Dockerfile: add # syntax=docker/dockerfile:1.7 directive (A2)
- Dockerfile: declare ARG GITEA_NPM_OWNER alongside GITEA_NPM_HOST (F14)
- Dockerfile: wildcard COPY .docker-deps* (A5-2, B3)
- Dockerfile (web): glob enumerated config COPYs (F11/F13) where applicable
- docker-compose.yml: healthcheck localhost → 127.0.0.1 (F12) where applicable
- docker-compose.yml: pass GITEA_NPM_OWNER build arg (F14) where applicable
- .npmrc.docker: rewrite with canonical ${GITEA_NPM_HOST}/${GITEA_NPM_OWNER}
template (F4/F14) if hardcoded
- .gitignore: ensure *.bak rule (B3)
- .docker-deps/.gitkeep: ensure exists for wildcard COPY
Verified: docker-doctor exits PASS (warnings only, ADR-0001 expected).
Refs: docker-build-optimization-roadmap.md §Phase D.2
15 lines
175 B
Plaintext
15 lines
175 B
Plaintext
node_modules/
|
|
**/node_modules/
|
|
*.tsbuildinfo
|
|
**/*.tsbuildinfo
|
|
.next/
|
|
dist/
|
|
coverage/
|
|
|
|
# Docker build tarballs
|
|
.docker-deps/
|
|
|
|
# docker-prep.sh artifacts
|
|
*.bak
|
|
package.json.bak
|