{"id":28254391,"url":"https://github.com/elijahondiek/flask-docker-app","last_synced_at":"2025-06-15T06:31:10.240Z","repository":{"id":136042561,"uuid":"426570176","full_name":"elijahondiek/Flask-Docker-App","owner":"elijahondiek","description":"A quick guide on how to Dockerize a flask application.","archived":false,"fork":false,"pushed_at":"2021-11-11T18:55:14.000Z","size":17,"stargazers_count":30,"open_issues_count":0,"forks_count":372,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T19:09:49.538Z","etag":null,"topics":["docker-containers","docker-engine","docker-image","flask"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elijahondiek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-10T10:00:57.000Z","updated_at":"2025-01-10T01:34:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"d09ef489-8c62-443e-a5a5-3c23880ceef6","html_url":"https://github.com/elijahondiek/Flask-Docker-App","commit_stats":null,"previous_names":["elijahondiek/flask-docker-app","ondiekelijah/flask-docker-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elijahondiek/Flask-Docker-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahondiek%2FFlask-Docker-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahondiek%2FFlask-Docker-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahondiek%2FFlask-Docker-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahondiek%2FFlask-Docker-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elijahondiek","download_url":"https://codeload.github.com/elijahondiek/Flask-Docker-App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahondiek%2FFlask-Docker-App/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259934409,"owners_count":22934327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-containers","docker-engine","docker-image","flask"],"created_at":"2025-05-19T19:09:44.015Z","updated_at":"2025-06-15T06:31:10.217Z","avatar_url":"https://github.com/elijahondiek.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask-Docker-App\n\n## Set up \u0026 Installation.\n\n### 1 .Clone/Fork the git repo and create a virtual environment \n                    \n**Windows**\n          \n```bash\ngit clone https://github.com/Dev-Elie/Flask-Docker-App.git\ncd Flask-Docker-App\npy -3 -m venv venv\n\n```\n          \n**macOS/Linux**\n          \n```bash\ngit clone https://github.com/Dev-Elie/Flask-Docker-App.git\ncd Flask-Docker-App\npython3 -m venv venv\n\n```\n### 2 .Activate the environment\n          \n**Windows** \n\n```venv\\Scripts\\activate```\n          \n**macOS/Linux**\n\n```. venv/bin/activate```\nor\n```source venv/bin/activate```\n\n\n### 3 .Install the requirements\n\nApplies for windows/macOS/Linux\n\n```\npip install -r requirements.txt\n```\n\n### 5. Run the application\n`python app.py`\n\n# OR\n\n## Create a new application from scratch\n\n### 1. Create a directory with a name **\"Flask-Docker-App\"**\n`mkdir Flask-Docker-App`\n\n### 2. Navigate to the newly created directory\n\n`cd Flask-Docker-App`\n\n### 3. Create a virtual environment\n\n**Windows**\n\n`py -3 -m venv venv`\n\u003cbr\u003e\n\n**macOS/Linux**\n\n`python3 -m venv venv`\n\n### 4. Activate the environment\n          \n**Windows** \n\n```venv\\Scripts\\activate```\n          \n**macOS/Linux**\n\n```. venv/bin/activate```\nor\n```source venv/bin/activate```\n\n### 3 .Install Flask\n\n`pip install Flask`\n\n### 4. Create the required files\nCreate two files; **app.py** and **Dockerfile**\n\n`touch app.py Dockerfile`\n\n## Congratulations! You can now proceed with the article on Dockerizing a Flask app [here](https://www.freecodecamp.org/news/how-to-dockerize-a-flask-app/).\n\n\u003c/br\u003e\n\u003cdiv align=\"center\"\u003e\u003ch1\u003eFollow me on Twitter\u003c/h1\u003e\u003c/div\u003e\n\u003cp align=\"center\"\u003e \u003ca href=\"https://twitter.com/dev_elie\" target=\"blank\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/dev_elie?logo=twitter\u0026style=for-the-badge\" alt=\"dev_elie\" /\u003e\u003c/a\u003e \u003c/p\u003e\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felijahondiek%2Fflask-docker-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felijahondiek%2Fflask-docker-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felijahondiek%2Fflask-docker-app/lists"}