diff --git a/README.md b/README.md index 1252286..01253d4 100644 --- a/README.md +++ b/README.md @@ -45,9 +45,7 @@ docker build -t signsvc -f docker/Dockerfile . ```console docker run -d \ --device /dev/bus/usb \ - --device /dev/usb \ -p 9115:443 \ - --restart unless-stopped \ --name signsvc signsvc ``` diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 25a5a30..133ccfe 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -16,5 +16,5 @@ init(){ init -/usr/bin/ykman piv info +/usr/bin/ykman piv info || true # Yubikey might not be inserted at that time /root/signsvc diff --git a/go.mod b/go.mod index 97a272c..496565d 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module signsvc go 1.22.0 -require github.com/joho/godotenv v1.5.1 // indirect +require github.com/joho/godotenv v1.5.1 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..d61b19e --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= +github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=