mirror of
https://github.com/uditkarode/bml-proxy.git
synced 2025-02-22 09:12:18 +00:00
there was an attempt
This commit is contained in:
parent
9a9b4b3e68
commit
1079dd6850
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
docker-compose.yml
|
||||
Dockerfile
|
||||
README.md
|
16
Dockerfile
16
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
|
||||
|
@ -3,7 +3,7 @@ services:
|
||||
#########################
|
||||
bmlapi-proxy:
|
||||
build: .
|
||||
image: bmlapi-proxy
|
||||
image: git.shihaam.dev/shihaam/bmlapi-proxy:latest
|
||||
ports:
|
||||
- 3030:3030
|
||||
environment:
|
||||
|
Loading…
x
Reference in New Issue
Block a user