Skip to content

Add a .dockerignore file for the backend build context #49

Description

@aadityat23

Section: Configuration & Environment

Problem
There is no .dockerignore anywhere in the repository, so docker build on the backend currently sends the entire build context — including venv/, pycache/, .git/, and the SQLite data directory — to the Docker daemon.

Why this matters
This slows every build and risks baking local venvs, cache files, or a locally-populated fundamentals.db into the image.

Acceptance Criteria

  • A .dockerignore in finverify-terminal/backend/ excludes venv/, pycache/, .pyc, .env, data/.db, and .git

  • A docker build run confirms the build context size drops noticeably (documented before/after size in the PR description)

Files likely to modify

finverify-terminal/backend/.dockerignore

Skills required: Docker

Estimated difficulty: 1/5

Estimated effort: 1 hour

Labels: devops, good first issue

Dependencies: None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions