Suggestion: Docker Image Build and Run Script
IBNobody opened this issue · 0 comments
IBNobody commented
Thanks for creating this container.
I wrote this simple shell script to automate the build and run process. It might be useful for people who are trying to figure out how to build the docker. As an added bonus, I added in the nut server port 9000.
#!/bin/sh
docker build ./ -t krptg/doge:latest
docker run \
--name "doge" \
-d \
-v $(pwd):/keys \
-v /path/to/nsp:/nsp \
-p 6093:6093 \
-p 9000:9000 \
-e DOGE_USER=admin \
-e DOGE_PASSWD=admin \
-e NUT_USER=admin \
-e NUT_PASSWD=admin \
krptg/doge:latest