CURL_IMPERSONATE var now set during build

This commit is contained in:
Shihaam Abdul Rahman 2023-05-30 23:05:53 +05:00
parent f7d9583c5b
commit 406c9ba3c3
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
2 changed files with 1 additions and 2 deletions

View File

@ -16,6 +16,7 @@ FROM lwthiker/curl-impersonate:0.5-chrome-slim-bullseye
WORKDIR /root
COPY --from=build /root/target/release/bml_proxy /root/
ENV CURL_IMPERSONATE=chrome110
ENV LD_PRELOAD="/usr/local/lib/libcurl-impersonate-chrome.so"
CMD /root/bml_proxy

View File

@ -7,6 +7,4 @@ services:
hostname: bmlapi-proxy
ports:
- 3030:3030
environment:
- CURL_IMPERSONATE=chrome101
restart: always