Skip to content

Add root Dockerfile so CI docker build . succeeds#13

Merged
echska merged 1 commit into
mainfrom
codex/fix-missing-dockerfile-error
May 9, 2026
Merged

Add root Dockerfile so CI docker build . succeeds#13
echska merged 1 commit into
mainfrom
codex/fix-missing-dockerfile-error

Conversation

@echska
Copy link
Copy Markdown
Owner

@echska echska commented May 9, 2026

Motivation

  • CI workflows run docker build . --file Dockerfile from the repository root but there was no root-level Dockerfile, causing failed to read dockerfile: open Dockerfile: no such file or directory.

Description

  • Add a repository-root Dockerfile that builds the Flask backend located at parental-control-system/backend by copying requirements.txt, installing dependencies with pip, copying the backend source, exposing port 5000, and running gunicorn --bind 0.0.0.0:${PORT:-5000} main:app --workers 2 --threads 4 --timeout 60.

Testing

  • Attempted a local docker build . --file Dockerfile, which could not run in this environment because the Docker CLI is unavailable (docker: command not found).

Codex Task

@echska echska merged commit 8a43843 into main May 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant