jmmorlesin / docker-python

POC of docker image with specific version of Python to use it as interpreter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-python

Proof of concept of docker image with specific version of python to use it as interpreter.

With the usage of this docker image there is no need to install the specific version of python to execute python scripts.

Requisites

In order to create the image, there is a file required to build it, in the current path has to exist the file requirements.txt with the dependencies of the code

Usage

Create the docker image

make build

Run the python scripts

make run

This run task uses the run-python.sh file to execute python from the docker container, this file can be used to execute another python scripts.

Run the python scripts using docker-compose

make run-using-docker-compose

About

POC of docker image with specific version of Python to use it as interpreter

License:MIT License


Languages

Language:Makefile 56.0%Language:Python 28.8%Language:Dockerfile 9.2%Language:Shell 6.0%