-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dockerignore
More file actions
23 lines (18 loc) · 799 Bytes
/
Copy path.dockerignore
File metadata and controls
23 lines (18 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# The builder only needs the Cargo manifests, src/, build.rs and admin-ui/dist.
# Everything below is rebuilt inside the image, is local dev state, or is
# secret — and without this file `COPY . .` ships a multi-gigabyte context.
# Rebuilt in the builder stage, and shadowed by the target cache mount anyway.
/target
# e2e is a separate cargo workspace; none of it reaches the binary.
/e2e
# Local runtime state — the SQLite DB carries password hashes and sessions.
**/*.sqlite3
**/*.sqlite3-*
**/*.db
# Local dev TLS material and direnv environment.
*.pem
.envrc
# build.rs stamps the binary with GIT_VERSION. Keeping .git out of the context
# means its `git describe` fallback cannot run in the builder, so the Docker
# workflow passes the describe output in as a build arg instead.
.git