linux:dockerizing-python-app
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
linux:dockerizing-python-app [2025/09/04 16:01] – Wulf Rajek | linux:dockerizing-python-app [2025/09/04 16:15] (current) – Wulf Rajek | ||
---|---|---|---|
Line 33: | Line 33: | ||
< | < | ||
docker run python-ffpb | docker run python-ffpb | ||
+ | </ | ||
+ | |||
+ | |||
+ | For debugging purposes, the default entrypoint can be overridden. Ensure to add the options before the image name as otherwise the arguments will be passed to the entrypoint script inside the docker: | ||
+ | < | ||
+ | docker run -it --entrypoint /bin/bash python-ffpb | ||
</ | </ | ||
The size of this image is 560MB, 413MB of which are the statically linked ffmpeg binaries, so the base image size is about 147MB. Using other base images (for example alpine based ones may result in smaller image sizes). | The size of this image is 560MB, 413MB of which are the statically linked ffmpeg binaries, so the base image size is about 147MB. Using other base images (for example alpine based ones may result in smaller image sizes). |
linux/dockerizing-python-app.txt · Last modified: by Wulf Rajek