forked from ysdede/parakeet.js
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.dockerignore
More file actions
52 lines (44 loc) · 1.23 KB
/
.dockerignore
File metadata and controls
52 lines (44 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Docker build context filter. The compose build sets `context: ..` (the
# project root), so anything not excluded here is sent to the Docker
# daemon and stored in the build cache. Two distinct risks if this file
# is missing:
#
# 1. Host node_modules/ and dist/ shadow whatever `npm ci` produces and
# would be used verbatim if a future Dockerfile change broadens the
# COPY scope. A compromised developer machine would then leak code
# into every build, bypassing the lockfile entirely.
# 2. Local dev artifacts (TLS cert keys, .env files with secrets) end
# up in the build context and may land in the image's layer cache.
# Dependencies (must be installed inside the image, never copied from host)
node_modules/
**/node_modules/
# Build outputs (re-emitted by the builder stage)
dist/
**/dist/
!app/ui/vendor/**/dist/
# Local secrets and TLS keys (vite dev server, docker compose)
.env
.env.*
docker/.env
*.pem
*.key
*.crt
# VCS metadata (not needed at build time, balloons the context)
.git/
.gitignore
# Editor / IDE droppings
.vscode/
.idea/
*.swp
.DS_Store
# Logs
*.log
npm-debug.log*
# Claude / agent metadata (local-only)
.claude/
CLAUDE.md
# Local-only tooling (scripts/ is already gitignored)
scripts/
data/
deploy.sh
TODO.md