Sign inSign up

gerardojunior/pyramid

By gerardojunior

•Updated over 7 years ago

Pyramid framework environment

Image
0

448

gerardojunior/pyramid repository overview

⁠Pyramid docker image

Docker Automated build

Docker image to run pyramid⁠ framework

The project must be in the /usr/local/src (with "public" folder) folder container folder and will be available on port :80 of the container

⁠Tags available

⁠Come on, do your tests

docker pull gerardojunior/pyramid: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_VERISON=7.2.5 ~

git clone https://github.com/gerardo-junior/pyramid.git
cd pyramid
docker build . --tag gerardojunior/pyramid

⁠How to use

⁠Only with docker command:
# in your project folder
docker run -it --rm -v $(pwd):/usr/share/src -p 1234:80 gerardojunior/pyramid:stable [sh command ]
⁠With docker-compose⁠

Create the docker-compose.yml file in your project folder with:

# (...)

  backend: 
    image: gerardojunior/pyramid:stable
    volumes:
      - type: bind
        source: ./
        target: /usr/share/src
    ports:
      - 1234:80

# (...)

⁠How to enter image shell

docker run -it --rm gerardojunior/pyramid:stable sh

# or with docker-compose

docker-compose run backend sh
⁠License

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

Tag summary

Content type

Image

Digest

Size

96.8 MB

Last updated

over 7 years ago

docker pull gerardojunior/pyramid