Commit graph

1 commit

Author SHA1 Message Date
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