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
- Host: GitHub
- URL: https://github.com/kvdomingo/py-cli-builder
- Owner: kvdomingo
- Created: 2022-09-25T08:12:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-08T14:39:00.000Z (about 2 years ago)
- Last Synced: 2025-01-04T06:24:12.339Z (5 months ago)
- Language: Dockerfile
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```