{"id":21710988,"url":"https://github.com/syndamia/mdp-classwork-1","last_synced_at":"2026-05-05T14:04:30.473Z","repository":{"id":204675754,"uuid":"712293224","full_name":"Syndamia/mdp-classwork-1","owner":"Syndamia","description":null,"archived":true,"fork":false,"pushed_at":"2023-11-04T08:14:33.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T18:16:43.212Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/syndamia/mdp-classwork-1","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Syndamia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-10-31T07:16:00.000Z","updated_at":"2025-02-16T11:48:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1cd7e55-c0d5-494c-b83a-def99b1b9278","html_url":"https://github.com/Syndamia/mdp-classwork-1","commit_stats":null,"previous_names":["syndamia/mdp-classwork-1"],"tags_count":0,"template":false,"template_full_name":"SeveralClouds/mdp-classwork-1","purl":"pkg:github/Syndamia/mdp-classwork-1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syndamia%2Fmdp-classwork-1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syndamia%2Fmdp-classwork-1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syndamia%2Fmdp-classwork-1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syndamia%2Fmdp-classwork-1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Syndamia","download_url":"https://codeload.github.com/Syndamia/mdp-classwork-1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syndamia%2Fmdp-classwork-1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32652508,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-25T23:18:55.464Z","updated_at":"2026-05-05T14:04:30.439Z","avatar_url":"https://github.com/Syndamia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Completed assignment!\n\nDocker image is pushed to DockerHub at [hub.docker.com/r/syndamia/mdp-classwork-1](https://hub.docker.com/r/syndamia/mdp-classwork-1).\n\nYou can test it out with:\n\n```bash\ndocker pull syndamia/mdp-classwork-1:latest\ndocker run -d -p 5000:5000 --name mdp-classwork-1 mdp-classwork-1\n```\n\nIn your browser open [http://127.0.0.1:5000](http://127.0.0.1:5000) or [http://localhost:5000](http://localhost:5000).\n\nThe image itself is based on Alpine.\n\n# Classwork Assignment 1\n\nYou are given a Python application and a client has requested your help to run it in a Docker container and automate the process of building the Docker image.\n\n## Start up\n\nInstall necessary dependencies\n\n```bash\npip3 install -r src/requirements.txt\n```\nStart the application\n\n```bash\npython3 src/app.py\n```\n\n## Tasks\n\n- [x] Create a new **public** repository and use this one as a template.\n- [x] Containerize the Python application in the `src/` directory. Create a Dockerfile and use ubuntu as a base image.\n- [x] Validate locally that the container is working.\n- [x] Create a GitHub Actions workflow that builds the Docker image and publishes it to your personal DockerHub account on every push to the main branch.\n\n### Bonus\n\n- [x] Optimize the size of the Docker image. Use a more minimal base image.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyndamia%2Fmdp-classwork-1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyndamia%2Fmdp-classwork-1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyndamia%2Fmdp-classwork-1/lists"}