Sign inSign up

gerardojunior/python

By gerardojunior

•Updated over 6 years ago

My Environment of pyhton

Image
1

370

gerardojunior/python repository overview

⁠Environment of pyhton Docker Automated build

    [+] 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

⁠Tags available

⁠Come on, do your tests

docker pull gerardojunior/python:stable

⁠How to build

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

⁠How to use

⁠Only with docker command:
# in your project folder
docker run -it --rm -v $(pwd):/src gerardojunior/python:stable [command]

# or docker-compose
docker-compose run node [command]
⁠With docker-compose⁠

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

# (...)

⁠How to enter image shell

docker run -it --rm gerardojunior/python sh
# or with docker-compose
docker-compose run node sh
⁠License

This project is licensed under the MIT License - see the LICENSE⁠ file for details

Tag summary

Content type

Image

Digest

Size

32.9 MB

Last updated

over 6 years ago

docker pull gerardojunior/python