[+] AUTOR: Gerardo Junior
[+] SITE: https://gerardo-junior.com
[+] EMAIL: [email protected]
[+] GITHUB: https://github.com/gerardo-junior/python-docker.git
[+] TELEGRAM: @MrGerardoJunior
The project must be in the /src container folder
docker pull gerardojunior/python:stable
to build the image you need install the docker engine only
You can try building with different versions of software with docker args, for example: PYTHON_ENV=3.6
docker build https://github.com/gerardo-junior/python-docker.git --tag gerardojunior/python
# in your project folder
docker run -it --rm -v $(pwd):/src gerardojunior/python:stable [command]
# or docker-compose
docker-compose run node [command]
Create the docker-compose.yml file in your project folder with:
# (...)
node:
image: gerardojunior/python:stable
restart: on-failure
volumes:
- type: bind
source: ./
target: /src
#command: dev
# (...)
docker run -it --rm gerardojunior/python sh
# or with docker-compose
docker-compose run node sh
This project is licensed under the MIT License - see the LICENSE file for details
Content type
Image
Digest
Size
32.9 MB
Last updated
over 6 years ago
docker pull gerardojunior/python