Skip to content

numq/dockerize-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerize Rust


🌟 Support this project
Bitcoin (BTC) bc1qs6qq0fkqqhp4whwq8u8zc5egprakvqxewr5pmx
Ethereum (ETH) 0x3147bEE3179Df0f6a0852044BFe3C59086072e12
USDT (TRC-20) TKznmR65yhPt5qmYCML4tNSWFeeUkgYSEV

Docker Multi-stage Build for Tiny Rust Image Deployment based on linux musl

*Multi-stage - this is a way to reduce an image size creating an empty image and copying the binary file into it.

  • First stage
    • Create a new image
    • Install dependencies
    • Build binaries
  • Second stage
    • Create a new image
    • Copy binaries
    • Launch

Run:

docker compose up [OPTIONS] [SERVICE...]

About

Docker Multi-stage Build for Tiny Rust Image Deployment

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published