Docker
Build Context
A build context is the set of files available to a container-image build, supplied from a directory, repository, archive, or other supported source. Dockerfile COPY instructions can access files within the applicable context.
Also known as: Docker build context
Why it matters
The supplied file boundary affects build correctness, transfer size, and information exposure.
Practical example
Exclude credentials and unnecessary directories with .dockerignore before sending a context to a remote builder.
Related terms
Sources
Definition reviewed .
Start with $10 in free credits
Change the runner label in your workflow and keep the rest of your GitHub Actions setup. Runner time is billed per minute.