File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ Welcome to Piccolo's documentation!
1616 piccolo/asgi/index
1717 piccolo/features/index
1818 piccolo/playground/index
19+ piccolo/deployment/index
1920 piccolo/ecosystem/index
2021 piccolo/contributing/index
2122 piccolo/changes/index
Original file line number Diff line number Diff line change 1+ Deployment
2+ ==========
3+
4+ Docker
5+ ------
6+
7+ Piccolo has several dependencies which are compiled (e.g. asyncpg, orjson),
8+ which is great for performance, but you may run into difficulties when using
9+ Alpine Linux as your base Docker image.
10+
11+ Alpine uses a different compiler toolchain to most Linux distros. It's
12+ highly recommended to use Debian as your base Docker image. Many Python packages
13+ have prebuilt versions for Debian, meaning you don't have to compile them at
14+ all during install. The result is a much faster build process, and potentially
15+ even a smaller overall Docker image size (the size of Alpine quickly balloons
16+ after you've added all of the compilation dependencies).
You can’t perform that action at this time.
0 commit comments