mast3r
mast3r copied to clipboard
Update entrypoint.sh
Multi-stage build reduces the final image size by separating the build and runtime environments, ensuring only necessary files are included. Dependency version locking and layer optimization ensure consistent builds and minimize image size by combining installation commands and cleaning up unnecessary files. EntryPoint.sh Changes Description: Default values and error handling ensure that the model file exists and provide default values for the DEVICE and MODEL variables. Logging and debugging with set -eux provide detailed execution logs and stop the script on errors or missing variables.