learningequality / learningequality/studio
Building studio app docker image takes a long time
Open
P2 - normal
TAG: tech update / debt
- Dominant language
- Python
- Stars
- 191
- Forks
- 307
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 10
Description
Summary
Per @aronasorman, the majority of processing time in studio deployment comes from yarn install and yarn run build in our docker image build. Since there have been many changes to studio recently, it's a good time to revisit these build scripts and files to ensure they're optimized.
A couple of suggested improvements, at first glance:
- Use a base image with python already installed
- Use
ADDfor node.js install to take better advantage of layer caching
Category
ENHANCEMENT
Usage Details
Stakeholders: release engineers, and developers
Real-life consequences (anything community should be aware of, for instance how it affects end users)
The quicker we can build and deploy, the easier it is for the team to deploy small, optimized change-sets.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.