{"html_url": "https://github.com/simonw/datasette/issues/57#issuecomment-344151223", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/57", "id": 344151223, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDE1MTIyMw==", "user": {"value": 247192, "label": "macropin"}, "created_at": "2017-11-14T05:32:28Z", "updated_at": "2017-11-14T05:33:03Z", "author_association": "CONTRIBUTOR", "body": "The pattern is called \"multi-stage builds\". And the result is a svelte 226MB image (201MB for 3.6-slim) vs 700MB+ for the full image. It's possible to get it even smaller, but that takes a lot more work.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273127694, "label": "Ship a Docker image of the whole thing"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/57#issuecomment-344147583", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/57", "id": 344147583, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDE0NzU4Mw==", "user": {"value": 247192, "label": "macropin"}, "created_at": "2017-11-14T05:03:47Z", "updated_at": "2017-11-14T05:03:47Z", "author_association": "CONTRIBUTOR", "body": "Let me know if you'd like a PR. The image is usable as \r\n`docker run --rm -t -i -p 9000:8001 -v $(pwd)/db:/db datasette datasette serve /db/chinook.db`", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273127694, "label": "Ship a Docker image of the whole thing"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/57#issuecomment-344145265", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/57", "id": 344145265, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDE0NTI2NQ==", "user": {"value": 247192, "label": "macropin"}, "created_at": "2017-11-14T04:45:38Z", "updated_at": "2017-11-14T04:45:38Z", "author_association": "CONTRIBUTOR", "body": "I'm happy to contribute this. Just let me know if you want a Dockerfile for development or production purposes, or both. \r\n\r\nIf it's prod then we can just pip install the source from pypi, otherwise for dev we'll need a `requirements.txt` to speed up rebuilds.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 273127694, "label": "Ship a Docker image of the whole thing"}, "performed_via_github_app": null}