there was an attempt

This commit is contained in:
Shihaam Abdul Rahman 2022-09-24 16:04:44 +05:00
parent 9a9b4b3e68
commit 1079dd6850
Signed by: shihaam
GPG Key ID: 3B007D22E5584980
3 changed files with 18 additions and 3 deletions

3
.dockerignore Normal file
View File

@ -0,0 +1,3 @@
docker-compose.yml
Dockerfile
README.md

View File

@ -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

View File

@ -3,7 +3,7 @@ services:
#########################
bmlapi-proxy:
build: .
image: bmlapi-proxy
image: git.shihaam.dev/shihaam/bmlapi-proxy:latest
ports:
- 3030:3030
environment: