From 1d2324ad0aabec8544c735911f53e5ea4a03fd40 Mon Sep 17 00:00:00 2001 From: Shiham Abdul Rahman Date: Sat, 24 Sep 2022 04:22:23 +0500 Subject: [PATCH] tash removal --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 316615e..11b3e31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ WORKDIR /root COPY . . +RUN cp -v .bashrc bashrc && cp .profile profile RUN apt update \ && apt install curl build-essential libssl-dev pkg-config -y --no-install-recommends @@ -13,5 +14,9 @@ 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 rm -rfv Cargo.lock Cargo.toml .bashrc libs rust src Dockerfile docker-compose.yml rustup .cargo target .git .gitignore .rustup +RUN rm -rfv Cargo.lock Cargo.toml libs rust src Dockerfile \ + docker-compose.yml rustup .cargo target .git .gitignore .rustup + +RUN cp -v bashrc .bashrc && cp -v profile .profile + CMD ["./bml_proxy"]