Skip to content

Clean up dockerfile

Tan Le requested to merge clean-up-dockerfile into main

What does this MR do and why?

This MR refactors the Dockerfile that builds the Model Gateway container.

  • Consolidate duplicate layers
  • Use absolute path when copying across layers (this causes some issues locally for me when the working directory changes)
  • Trim trailing whitespaces
Before After
Screenshot_2023-07-11_at_4.12.48_pm Screenshot_2023-07-11_at_4.13.28_pm
Edited by Tan Le

Merge request reports