diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..e43170f --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +docker-compose.yml +Dockerfile +README.md diff --git a/Dockerfile b/Dockerfile index 2219fb4..f3d2015 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,20 @@ RUN mv /root/target/release/bml_proxy . ## Clean up 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 rm -rfv Cargo.lock Cargo.toml rust src rustup .cargo target .rustup \ + /usr/share/perl \ + /usr/share/zoneinfo \ + /usr/bin/perl5.28.1 \ + /usr/bin/perl \ + /var/lib/apt/lists/* \ + /var/lib/dpkg/info/* \ + /var/cache/* \ + /var/log/* +# /lib/x86_64-linux-gnu/libc-2.28.so \ +# /lib/x86_64-linux-gnu/libm-2.28.so +# /usr/lib/gcc \ +# /usr/lib/x86_64-linux-gnu \ + RUN cp -v bashrc .bashrc && cp -v profile .profile #default variable diff --git a/docker-compose.yml b/docker-compose.yml index 40f4785..fb735f9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ services: ######################### bmlapi-proxy: build: . - image: bmlapi-proxy + image: git.shihaam.dev/shihaam/bmlapi-proxy:latest ports: - 3030:3030 environment: