AOSSIE-Org / AOSSIE-Org/BabyNest

FEATURE REQUEST:Add Docker Support for Backend to Simplify Local Development

Offen
#189 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
56
Forks
124
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Is your feature request related to a problem?

- [x] Yes, it is related to a problem

### Describe the feature you'd like

🌟 Feature Description

Introduce Docker support for the backend to simplify local development and ensure a consistent environment across different operating systems.

The goal is to provide a containerized development setup that allows contributors to run the backend with a single command instead of manually installing and configuring dependencies.

This would include adding:

A Dockerfile

A docker-compose.yml file

A .dockerignore file

Updated README instructions for Docker usage

🔍 Problem Statement

Currently, contributors must manually:

Install Python

Manage virtual environments

Install project dependencies

Configure environment variables

Ensure compatible versions of required tools

This can lead to:

Environment mismatch issues

Setup failures across different operating systems

Dependency conflicts

Increased onboarding time for new contributors

These issues can slow down development and discourage first-time contributors.

🎯 Expected Outcome

After implementing Docker support:

Contributors can start the backend using:

docker compose up --build

The backend runs inside an isolated, reproducible environment

Setup becomes faster and more reliable

Environment-related issues are significantly reduced

CI/CD integration becomes easier

📷 Screenshots and Design Ideas

Proposed repository additions:

/Dockerfile
/docker-compose.yml
/.dockerignore

Suggested workflow:

git clone
cd
docker compose up --build

The container would:

Build and run the Flask backend

Install all dependencies automatically

Expose the API on a local port

Optionally mount SQLite as a Docker volume

📋 Additional Context

Tech Stack:

Frontend: React Native

Backend: Flask (Python)

AI/NLP: LangChain

Database: SQLite

### Record

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on implementing this feature

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.