Three files are required to dockerize your Pyramid application.
Copy & paste the contents to your project directory and run with docker-compose up
After this command your webserver will be up and running server on the name firehose.dev
port 8080
.
Stack:
If you don't have an
.egg
file in your root directorygunicorn
will throw an error:It is advised to run
python setup.py develop
with an auxiliary python 3.6 environment before runningdocker-compose up
as workaround.