python

How to build multistage python with venv the smart way

The smartest way to create a multistage Dockerfile for a python application and be compatible with OpenShift non-root / arbitrary user is to use virtual environments.

Tags: docker python
Using python decorators for registration

Using python decorators for registering command for a help-function in a slackbot. (with example)

This implementation uses a global var as database for the commands.

Tags: development python

Tag Cloud