Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add a .dockerignore for the client build context

Open Beginner friendly
#129 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
docker, javascript
Domain
build-system

Research direction

Start by reviewing the client Docker build inputs and the existing repository-root .dockerignore, then inspect src/Dome.Client to identify generated files and local metadata. Add src/Dome.Client/.dockerignore with the listed exclusions, checking that files needed by npm ci and npm run build remain in the context. Done when the context excludes the specified generated files and the client Docker build succeeds from a clean checkout.

Written by the indexing model from the issue text.

Description

Summary

The client image uses src/Dome.Client as its Docker build context. The repository-root .dockerignore does not apply to this separate context, so frontend-generated or local files inside the client directory may be sent to the builder unnecessarily.

Proposed change

Add src/Dome.Client/.dockerignore with appropriate exclusions, at minimum:

node_modules/
dist/
coverage/
.vite/
.git/
*.log

Review the actual client build inputs before adding any further exclusions.

Acceptance criteria

  • The client Docker build context excludes generated dependencies, build output, coverage output, and local Git metadata.
  • The Docker build still succeeds from a clean checkout.
  • The change does not exclude files required by npm ci or npm run build.
Dominant language
C#
Stars
0
Forks
2
Avg merge
5h 22m
Merged PRs (30d)
28

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Dome-Works/DOME

All issues in Dome-Works/DOME

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.