healthyregions / SDOHPlace

Landing page and data discovery application for SDOH Place Project.
https://sdohplace.org
GNU General Public License v3.0
1 stars 1 forks source link

feat: added Docker recipe for building + running the homepage #319

Open bodom0015 opened 1 month ago

bodom0015 commented 1 month ago

Problem

For consistency in deployment, we could create a Docker image for the project homepage

Approach

How to Test

  1. Checkout and run this branch locally
  2. Build the image: docker compose build
    • NOTE: this is a shorthand for running docker build -t herop/sdoh-homepage .
  3. Run the image: docker compose up -d
    • NOTE: this is a shorthand for running docker run -it -p 8080:80 --name sdoh-homepage herop/sdoh-homepage
  4. Navigate your browser to port 8080 to view the SDOH Homepage
    • This port can be easily mapped/overridden at runtime
  5. Shutdown the container: docker compose down
    • NOTE: this is a shorthand for running docker rm -f sdoh-homepage
netlify[bot] commented 1 month ago

Deploy Preview for cheerful-treacle-913a24 ready!

Name Link
Latest commit 442e54c91277c442762c87ded997954b53ebe46c
Latest deploy log https://app.netlify.com/sites/cheerful-treacle-913a24/deploys/6734d7298cc357000882642c
Deploy Preview https://deploy-preview-319--cheerful-treacle-913a24.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.