Sign inSign up

leandrorusso/pyinstaller

By leandrorusso

Updated over 3 years ago

Convert a python application to binary

Image
0

771

leandrorusso/pyinstaller repository overview

Usage

To build a Python package, create a Docker container with your source mounted as a volume at /src

docker run --rm -v "${PWD}:/src" pyinstaller:${TAG} --noconfirm --onefile --log-level DEBUG --clean example.py

If a requirements.txt file is found in your source directory, the requirements will automatically be installed with pip.

This will output a built app to the dist sub-directory in your source directory.

./dist/example

Tag summary

Content type

Image

Digest

sha256:02c8214c9

Size

93.8 MB

Last updated

over 3 years ago

docker pull leandrorusso/pyinstaller:alpine-py3