Skip to content
Clone

chore: use host network for runtime image build and set dev pow secret

zhenyi committed
parent c28b65e commit 69b858a Browse files

2 files changed

+2 −1

File tree 2
Modified config/default.yaml View config/default.yaml
@@ -143,7 +143,7 @@
143143
144144
145145pow:
146 hmac_secret: ""
146 hmac_secret: "dev-secret-untitled-pow-2026"
147147 algorithm: "PBKDF2/SHA-256"
148148 cost: 100000
149149 key_length: 32
Modified docker/build.sh View docker/build.sh
@@ -76,6 +76,7 @@
7676 echo "==> [3/3] 构建镜像 ${image_name}:latest"
7777 cp "target/release/${app}" "${STAGE_DIR}/app"
7878 "${RUNTIME}" build \
79 --network=host \
7980 --build-arg BASE_IMAGE="${BASE_IMAGE}" \
8081 --build-arg APP_NAME="${app}" \
8182 -f "${SCRIPT_DIR}/Dockerfile" \