Skip to content

enhancement: add .dockerignore#19

Open
casinesque wants to merge 1 commit into
StellarSend:mainfrom
casinesque:bugfix/missing-docker-ignore
Open

enhancement: add .dockerignore#19
casinesque wants to merge 1 commit into
StellarSend:mainfrom
casinesque:bugfix/missing-docker-ignore

Conversation

@casinesque

Copy link
Copy Markdown

Fixes #11

Adds .dockerignore to exclude .git/, target/, .env, and *.md from the Docker build context. .env.example is kept (not a secret, useful reference). Verified build context size drops and no needed files are missing.

Tested by:

Tested by building a throwaway image that copies the context and lists it, confirming .git/, target/, and .env are excluded while .env.example, src/, migrations/, Cargo.toml, and rust-toolchain.toml are present

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No .dockerignore — build context includes .git, target/, and other unneeded files

1 participant