Skip to content

Commit

Permalink
Refactor Dockerfile.static to add CMD for upstream URLs configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
arloor committed Nov 15, 2024
1 parent 6190405 commit 64848f6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Dockerfile.static
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,14 @@ RUN apk add --no-cache net-tools; \
apk del tzdata
ARG TARGET_PATH=/x86_64-unknown-linux-musl
COPY target${TARGET_PATH}/release/rust_http_proxy /
ENTRYPOINT ["/rust_http_proxy"]
ENTRYPOINT ["/rust_http_proxy"]
CMD ["-p","9000", "--append-upstream-url=https://1.push2.eastmoney.com",
"--append-upstream-url=https://2.push2.eastmoney.com",
"--append-upstream-url=https://3.push2.eastmoney.com",
"--append-upstream-url=https://4.push2.eastmoney.com",
"--append-upstream-url=https://45.push2.eastmoney.com",
"--append-upstream-url=https://46.push2.eastmoney.com",
"--append-upstream-url=https://36.push2.eastmoney.com",
"--append-upstream-url=https://37.push2.eastmoney.com",
"--append-upstream-url=https://gbcdn.dfcfw.com",
"--append-upstream-url=https://guba.eastmoney.com"]

0 comments on commit 64848f6

Please sign in to comment.