phenotips / open-pedigree

A free and open-source pedigree tool by PhenoTips®
GNU Lesser General Public License v2.1
46 stars 25 forks source link

Allow OpenPedigree to be run through Docker #33

Closed AlgyTaylor closed 2 years ago

AlgyTaylor commented 2 years ago

Create a Dockerfile to allow OpenPedigree to be run within a Docker container. Update README to provide brief usage instructions. Add additional line to package.json for docker-triggered start command.

I tried using the Alpine linux version of the NodeJS image, but this produced errors, so I've stuck with the stock version.

AlgyTaylor commented 2 years ago

Should add as a note - I've noticed that running it through external infrastructure can result in an 'Invalid Host header' error. This can be fairly easily remedied following this StackOverflow answer (use the 'secure' version linked to in that answer if possible)

buske commented 2 years ago

This is great, @AlgyTaylor! Thank you for sharing this improvement to the distribution!