{"id":17484714,"url":"https://github.com/ryanmcdermott/docker-flask","last_synced_at":"2025-04-22T15:21:02.380Z","repository":{"id":19550120,"uuid":"22798642","full_name":"ryanmcdermott/docker-flask","owner":"ryanmcdermott","description":":jeans: A simple Docker setup for a Flask application on Nginx","archived":false,"fork":false,"pushed_at":"2020-07-11T19:03:23.000Z","size":9,"stargazers_count":14,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-21T21:06:22.320Z","etag":null,"topics":["docker","flask","shell"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/ryanmcdermott.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}},"created_at":"2014-08-10T01:08:12.000Z","updated_at":"2024-08-15T12:53:28.000Z","dependencies_parsed_at":"2022-07-23T03:46:23.702Z","dependency_job_id":null,"html_url":"https://github.com/ryanmcdermott/docker-flask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Fdocker-flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Fdocker-flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Fdocker-flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Fdocker-flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanmcdermott","download_url":"https://codeload.github.com/ryanmcdermott/docker-flask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250264931,"owners_count":21402005,"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","flask","shell"],"created_at":"2024-10-19T01:05:23.278Z","updated_at":"2025-04-22T15:21:01.529Z","avatar_url":"https://github.com/ryanmcdermott.png","language":"Dockerfile","readme":"# Docker-Flask\n\nDocker-Flask is a Docker setup for a very simple Flask application. It runs on Python 3.x via Nginx and UWSGI. To build this Docker file and get going follow the installation instructions below -- *installation instructions are written for Mac OS X users*\n\n## Step 1: Install Docker\n\nDownload Docker's [boot2docker](https://github.com/boot2docker/osx-installer/releases) to get started.\n\n## Step 2: Start boot2docker\n\nStart *boot2docker* with the following command in your terminal:\n\n```bash\n$  boot2docker up\n```\nThe command will return something that looks like the following statement. Copy and paste what *boot2docker* returned and execute it in your terminal:\n\n```bash\n$  export DOCKER_HOST=tcp://192.168.59.103:2375\n```\n\n## Step 3: Download docker-flask\n\n```bash\n$  git clone https://github.com/ryanmcdermott/docker-flask.git\n$  cd docker-flask\n```\n\n## Step 4: Build docker-flask\n\n```bash\n$  docker build --rm --tag=flask .\n```\n\n## Step 5: Run docker-flask\n\n```bash\n$  docker run -it -p 80:80 flask\n```\n\nYou should see Docker running a supervisord session with Nginx and UWSGI. Now all that's left to do is open up your browser and type the IP address that boot2docker returned. In this example it was 192.168.59.103.\n\nYou should see the text *Flask is running!* in your browser. That's all there is to it!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanmcdermott%2Fdocker-flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanmcdermott%2Fdocker-flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanmcdermott%2Fdocker-flask/lists"}