Commit graph

2 commits

Author SHA1 Message Date
Douglas Muth
0a93c9e8c4 Added Docker support 2023-06-10 13:34:08 -04:00
Sven Strittmatter
965e503aec Adds Dockerfile to build a container image which hosts diceware
The container is built in two steps (docker builder pattern):

1. Node/npm build stage
2. Final image with Nginx and static files to serve

Build the mage with this command:

    docker image build -t dceware .

Run a container with this command:

    docker run --rm -p 8080:80  dceware

Then you can visit your local diceware at:

http://localhost:8080/

Signed-off-by: Sven Strittmatter <ich@weltraumschaf.de>
2023-06-10 12:54:59 -04:00