From 38c537f7c9903c1b3896e2f4b1134ea301ceb196 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Mon, 28 Feb 2022 21:05:29 +0800 Subject: [PATCH] Update Dockerfile1 --- Dockerfile1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile1 b/Dockerfile1 index aff6dc4..84ebb51 100644 --- a/Dockerfile1 +++ b/Dockerfile1 @@ -9,7 +9,7 @@ RUN apk add --no-cache wireguard-tools \ && arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \ && latest=$(wget -qO- "https://api.github.com/repos/ViRb3/wgcf/releases/latest" | grep "tag_name" | head -n 1 | cut -d : -f2 | sed 's/[ \"v,]//g') \ && wget -O wgcf https://github.com/ViRb3/wgcf/releases/download/v$latest/wgcf_"$latest"_linux_$arch \ - && echo -e "#!/bin/bash\n./wgcf register --accept-tos\n./wgcf generate -p wgcf.conf\nrm -rf wgcf-account.toml\nwg-quick up wgcf; sleep 2m" > run.sh \ + && echo -e "#!/bin/bash\n./wgcf register --accept-tos\n./wgcf generate -p wgcf.conf\nrm -rf wgcf-account.toml\nwg-quick up wgcf; sleep 1h" > run.sh \ && chmod +x run.sh wgcf ENTRYPOINT ./run.sh