更新 cpu-dockerfile

更新token
This commit is contained in:
coolsd 2024-07-12 15:53:13 +00:00
parent 6e67a5118a
commit 72deebb5ba

View File

@ -23,4 +23,4 @@ RUN apt-get update && apt-get install -y libc6 libicu-dev wget curl g++-11 && \
WORKDIR /q
# 在容器启动时运行命令
CMD sh -c "echo '{\"Settings\":{\"baseUrl\":\"$url\",\"amountOfThreads\": $num,\"payoutId\":\"$token\",\"accessToken\":null,\"alias\":\" $name\",\"allowHwInfoCollect\": false,}}' > appsettings.json && ./trainer"
CMD sh -c "echo '{\"Settings\":{\"baseUrl\":\"$url\",\"amountOfThreads\": $num,\"payoutId\":null,\"accessToken\":\"$token\",\"alias\":\" $name\",\"allowHwInfoCollect\": false,}}' > appsettings.json && ./trainer"