nickjj/docker-flask-example
View on GitHub ↗ ★ 764 Python
A production ready example Flask app that's using Docker and Docker Compose.
23 mentions on Hacker News by 1 person: 0 stories, 23 comments · first 2021-01-04 · latest 2026-05-20
20082026
-
…, received zero feedback and then archived it at the start of 2026. [0]: https://github.com/nickjj/docker-flask-example [1]: https://github.com/nickjj/docker-rails-example [2]: https://github.com/nickjj/docker-django-example [3]: h
comment by nickjj · 2026-05-20 · in Dumb ways for an open source project to die -
…faster than with pip, at least on my machine. Both of my Docker Compose starter app examples for https://github.com/nickjj/docker-flask-example and https://github.com/nickjj/docker-django-example use uv. I also wrote about making the…
comment by nickjj · 2025-10-13 · in Uv overtakes pip in CI -
…saw room for improvement, left an audit trail in the comments and moved on. Here's the commits https://github.com/nickjj/docker-flask-example/commit/d1b7b9... and https://github.com/nickjj/docker-django-example/commit/a12e2... btw.
comment by nickjj · 2025-06-24 · in Switching Pip to Uv in a Dockerized Flask / Django App -
If anyone is looking for examples on using uv with Docker, I have Flask and Django example apps at https://github.com/nickjj/docker-flask-example and https://github.com/nickjj/docker-django-example . It prevents uv from making a virtual…
comment by nickjj · 2025-06-24 · in uv: An extremely fast Python package and project manager, written in Rust -
…time is better than nothing to solve this problem with nothing more than pip. It's what I do in https://github.com/nickjj/docker-flask-example and https://github.com/nickjj/docker-django-example . It's not perfect but it solves 80% with…
comment by nickjj · 2024-03-25 · in Pyenv – lets you easily switch between multiple versions of Python -
…off upgrading Flask to 3.0 and Python 3.12 due to these open issues with popular 3rd party packages https://github.com/nickjj/docker-flask-example/issues/17 . I'm sure new releases will get pushed in due time. When they are good to go then…
comment by nickjj · 2023-10-20 · in We Have to Talk About Flask -
…in a container. Here's a few project specific examples. They all have similar run scripts: - https://github.com/nickjj/docker-flask-example - https://github.com/nickjj/docker-rails-example - https://github.com/nickjj/docker-django-example…
comment by nickjj · 2023-06-27 · in Working with Docker containers with the dexec bash script -
…to go web app examples aimed at both development and production with Docker Compose, I maintain: - https://github.com/nickjj/docker-flask-example - https://github.com/nickjj/docker-rails-example - https://github.com/nickjj/docker-django-exa…
comment by nickjj · 2023-02-25 · in Awesome Docker Compose Examples -
This is what I do except I use a shell script instead of a Makefile. A working example of this is at: https://github.com/nickjj/docker-flask-example/blob/912388f3... Those ./run ci:XXX commands are in:…
comment by nickjj · 2022-11-26 · in Act: Run your GitHub Actions locally -
…little detail as you'd like. For my own personal projects, I tend to document this file like this https://github.com/nickjj/docker-flask-example/blob/main/.en... .
comment by nickjj · 2022-10-15 · in How boring should your team's codebases be -
…at https://nickjanetakis.com/blog/replacing-make-with-a-shell-s... and an example file is here https://github.com/nickjj/docker-flask-example/blob/main/run .
comment by nickjj · 2022-08-12 · in The Unreasonable Effectiveness of Makefiles -
…certain commands. Sort of like a Makefile except with the full power of your shell. For example: https://github.com/nickjj/docker-flask-example/blob/main/run In a bigger project this file tends to grow quite large, even when you have the…
comment by nickjj · 2022-02-20 · in Ask HN: Let's build Checkstyle for Bash? -
…lint:docker" or "./run lint:frontend". I have a practical example of this sort of thing here: https://github.com/nickjj/docker-flask-example/blob/main/run I've written about this pattern in more detail here…
comment by nickjj · 2021-10-31 · in Bash functions are better than I thought -
…file and referencing it with pip3 install using the -c flag. There's example repos at https://github.com/nickjj/docker-flask-example and https://github.com/nickjj/docker-django-example that demonstrate how it's done. It's not a 100% fool…
comment by nickjj · 2021-06-19 · in Ask HN: Why Poetry did not become a mainstream package manager for Python? -
…get around this by simply not using volumes in CI. I have a bunch of examples of this pattern at: - https://github.com/nickjj/docker-flask-example - https://github.com/nickjj/docker-django-example - https://github.com/nickjj/docker-rails-ex…
comment by nickjj · 2021-05-31 · in File Permissions: A painful side of Docker (2019) -
…+ Celery + Redis + PostgreSQL + Webpack + TailwindCSS starter project to support Flask 2.0 here: https://github.com/nickjj/docker-flask-example And I'll be updating my Build a SAAS App with Flask course for Flask 2.0 today at:…
comment by nickjj · 2021-05-12 · in New Versions Released! Flask 2.0 with async -
…100 assorted tests in ~10 seconds (testing models, views, etc.). An example of the above is here: https://github.com/nickjj/docker-flask-example A similar pipeline with comparable tools for Rails takes ~4-5 minutes and Phoenix takes ~4-5…
comment by nickjj · 2021-05-01 · in Ask HN: How Long Is Your CI Process? -
…that it's going to work. For example I have a Docker + Flask example starter kit project at https://github.com/nickjj/docker-flask-example and the GitHub description is "A production ready example Flask app that's using Docker and Docker…
comment by nickjj · 2021-04-17 · in I'd like to review your README -
…JIT compiler with various web frameworks and Webpack, I have a few example starter projects at: - https://github.com/nickjj/docker-flask-example - https://github.com/nickjj/docker-django-example - https://github.com/nickjj/docker-node-examp…
comment by nickjj · 2021-04-07 · in TailwindCSS JIT with arbitrary values -
…macOS you could install these dependencies using brew instead. A working example of this is here: https://github.com/nickjj/docker-flask-example Check out the run script in the root of the project for "ci:" functions and the GH Actions yml…
comment by nickjj · 2021-02-24 · in Show HN: Test your Gitlab CI Pipelines changes locally using Docker -
…build very nice feeling apps without going all-in with an API back-end and JS front-end. I released https://github.com/nickjj/docker-flask-example as a starter kit for what I use in new projects. It wires up things like SQLAlchemy, Celery,…
comment by nickjj · 2021-02-01 · in FastAPI framework, high perf, easy to learn, fast to code, ready for production -
…solution works with and without Docker. I have an example of it in this Docker Flask example repo https://github.com/nickjj/docker-flask-example#updating-depe... , but it'll work without Docker too.
comment by nickjj · 2021-01-24 · in Pip has dropped support for Python 2 -
I have one here: https://github.com/nickjj/docker-flask-example/blob/ca1d4849... The basic idea is you create a user in your Dockerfile, switch to that user with the USER instruction and now future instructions in your Dockerfile will be…
comment by nickjj · 2021-01-04 · in Dockerfile Best Practices