[i335] docker image for site generator #336

Open
rho_n wants to merge 6 commits from i335_docker-image-for-site-generator into main
Owner

Add a Docker file and instructions for building and running a Docker site-generator app locally

Add a Docker file and instructions for building and running a Docker site-generator app locally
rho_n added 3 commits 2026-05-17 15:46:50 +00:00
This builds the container with the needed Perl modules, templates,
and a default configuration file.
Instead of calling perl directly from /usr/bin, set environment so that the current
default perl program is called.
rho_n requested review from archer72 2026-05-17 15:46:50 +00:00
rho_n requested review from ken_fallon 2026-05-17 15:46:50 +00:00
rho_n requested review from sgoti 2026-05-17 15:46:50 +00:00
rho_n added 1 commit 2026-05-17 16:01:55 +00:00
Author
Owner

When testing this PR, make sure to switch to the correct branch first

git fetch
git checkout origin i335_docker-image-for-site-generator

You will know you are in the correct branch when you see the Dockerfile

When testing this PR, make sure to switch to the correct branch first ``` git fetch git checkout origin i335_docker-image-for-site-generator ``` You will know you are in the correct branch when you see the Dockerfile
rho_n added 1 commit 2026-05-17 23:32:15 +00:00
norrist approved these changes 2026-05-18 21:18:37 +00:00
norrist left a comment
Member

Approved with Comments

Testing worked using the requested change.

Approved with Comments Testing worked using the requested change.
@@ -68,0 +80,4 @@
```-v <path to db directory>/hpr.db:/usr/src/app/hpr.db```
Build the image by running the following command from the hpr_generator directory:
```docker run -t hpr/site-generator .```
Member

I think this should be docker build instead of docker run

I think this should be `docker build` instead of `docker run`
Author
Owner

Good catch norrist. Thanks!

Good catch norrist. Thanks!
rho_n added 1 commit 2026-05-19 18:00:54 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin i335_docker-image-for-site-generator:i335_docker-image-for-site-generator
git checkout i335_docker-image-for-site-generator
Sign in to join this conversation.