Skip to content

Add a .dockerignore — the full context (incl. target/) is copied into the build #148

Description

@Darkdruce

Summary

There is no .dockerignore, and the Dockerfile does COPY . . twice, so the entire working tree (including a possibly-huge target/, .git/, local *.db) is sent to the build context.

Location

  • Dockerfile:7, 14 (COPY . .), no .dockerignore present.

Details & impact

Slow builds, bloated context, risk of leaking a local stellargate.db or .env into image layers.

Suggested fix

Add .dockerignore excluding target/, .git/, *.db, .env, etc.

Acceptance criteria

  • Build context excludes build artifacts and secrets.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26ci-cdContinuous integration / deliverydeploymentDocker, packaging, and deploymentperformancePerformance / scalability concern

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions