Pyramid framework environment
448
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
docker pull gerardojunior/pyramid: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_VERISON=7.2.5 ~
git clone https://github.com/gerardo-junior/pyramid.git
cd pyramid
docker build . --tag gerardojunior/pyramid
# in your project folder
docker run -it --rm -v $(pwd):/usr/share/src -p 1234:80 gerardojunior/pyramid:stable [sh command ]
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
# (...)
docker run -it --rm gerardojunior/pyramid:stable sh
# or with docker-compose
docker-compose run backend sh
This project is licensed under the MIT License - see the LICENSE file for details
Content type
Image
Digest
Size
96.8 MB
Last updated
over 7 years ago
docker pull gerardojunior/pyramid