Build Images Are Quite Large—Is This Normal? #1123
-
Hey, everyone! First off, thanks for all your hard work on FrankenPHP. Overall, it’s been a great experience! I’ve been testing FrankenPHP on a small project, and I noticed the Docker images are fairly large, around Here’s my Dockerfile for reference: https://github.com/rayblair06/dumbo-qr/blob/main/Dockerfile |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's because you're using the builder image. This image includes a large number of build dependencies. Use the runner image (which is small) in production (remove the |
Beta Was this translation helpful? Give feedback.
It's because you're using the builder image. This image includes a large number of build dependencies.
Use the runner image (which is small) in production (remove the
builder-
part of the tag).