mirror of
https://github.com/uditkarode/bml-proxy.git
synced 2025-07-15 03:15:56 +00:00
comments
This commit is contained in:
@ -11,12 +11,14 @@ RUN apt update \
|
||||
RUN curl https://sh.rustup.rs -o rust \
|
||||
&& sh rust -y
|
||||
RUN /root/.cargo/bin/cargo build --release
|
||||
RUN apt purge curl build-essential libssl-dev pkg-config cargo -y
|
||||
|
||||
|
||||
RUN mv /root/target/release/bml_proxy .
|
||||
RUN apt purge curl build-essential libssl-dev pkg-config cargo -y
|
||||
RUN rm -rfv Cargo.lock Cargo.toml rust src Dockerfile \
|
||||
docker-compose.yml rustup .cargo target .git .gitignore .rustup
|
||||
|
||||
RUN cp -v bashrc .bashrc && cp -v profile .profile
|
||||
|
||||
ENV LD_PRELOAD=/root/libs/libcurl-impersonate-chrome.so
|
||||
|
||||
CMD ["./bml_proxy"]
|
||||
|
Reference in New Issue
Block a user