An open API service indexing awesome lists of open source software.

https://github.com/kvdomingo/py-cli-builder

Base image for building standalone CLI applications written in Python
https://github.com/kvdomingo/py-cli-builder

Last synced: 4 months ago
JSON representation

Base image for building standalone CLI applications written in Python

Awesome Lists containing this project

README

        

# py-cli-builder

Base image for building standalone CLI applications written in Python.

1. Ensure you have a file named `setup.py` that points to your application's actual entrypoint.
2. Define the environment variable `NAME` to be your application's name.
3. Mount your application directory to `/build`.

Example:

```shell
docker run \
-v "$(pwd)":/build \
--rm \
--env NAME={{.NAME}} \
--name {{.NAME}} \
ghcr.io/kvdomingo/py-cli-builder:latest
```