Skip to content

Optimize Dockerfile#3

Open
sinnottj-rse wants to merge 1 commit into
tpiproductivitylab:mainfrom
UoMResearchIT:optimize-dockerfile
Open

Optimize Dockerfile#3
sinnottj-rse wants to merge 1 commit into
tpiproductivitylab:mainfrom
UoMResearchIT:optimize-dockerfile

Conversation

@sinnottj-rse

Copy link
Copy Markdown

A few tweaks to reduce the image size:

  • Don't store python build artefacts or pip cache data in the image.
  • Combine the pip commands into a single RUN step to avoid creating an unnecessary image layer.

…mmands into a single RUN step where possible to avoid creating unnecessary image layers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant