iangcarroll / pnrsh

✈️ View hidden information in airline reservations.
https://pnr.sh
MIT License
80 stars 35 forks source link

Add a Dockerfile #1

Closed nickvanw closed 2 years ago

nickvanw commented 2 years ago

👋 Hi @iangcarroll!

I hope this PR finds you well - this adds a multistage Docker build that produces a Debian-based image for this project. The only code change needed was modifying the listener (if there is no PORT environment variable) to listen on 0.0.0.0 instead of localhost, so that Docker can route requests to the service.

I'm happy to change anything around if you'd prefer, I just wanted to do this to easily deploy on my end!

iangcarroll commented 2 years ago

This looks great, thanks @nickvanw! Appreciate you adding this.