axlearn icon indicating copy to clipboard operation
axlearn copied to clipboard

Improve : Optimize Dockerfile for Better Build Efficiency

Open YashSalunke12 opened this issue 2 years ago • 2 comments

What does this PR do?

This pull request optimizes the Dockerfile by reducing the number of image layers, combining instructions, and improving readability. It also adds labels for better documentation. The Dockerfile is now more efficient and follows best practices for building Docker images.

YashSalunke12 avatar Oct 16 '23 17:10 YashSalunke12

@ruomingp Hey, could you please help me with this check? How do I pass this check?

YashSalunke12 avatar Oct 20 '23 16:10 YashSalunke12

@ruomingp Hey, could you please help me with this check? How do I pass this check?

It seems a bug in the Dockerfile?

 => ERROR [ci 1/3] RUN pip install .[dev,gcp,vertexai_tensorboard]         0.6s
------
 > [ci 1/3] RUN pip install .[dev,gcp,vertexai_tensorboard]:
#13 0.554 ERROR: Directory '.[dev,gcp,vertexai_tensorboard]' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.

ruomingp avatar Oct 21 '23 15:10 ruomingp