Containerize applications
Open
@alecgunny is already working on this.
Since Mar 7, 2022.
enhancement
question
- Dominant language
- Python
- Stars
- 10
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
As mentioned in #2 , production applications should be deployed using containers to make them more portable and accessible to users without dedicated resources. As I discuss in fastmachinelearning/gw-iaas#17, building a simplified framework for container builds in the context of the monorepo format with Poetry is not exactly trivial, but for now at a minimum applications should include a Dockerfile and an associated GitHub workflow which builds the container, runs tests inside of it, and pushes it to an ML4GW repository.
- Where do we want this repository to live? I assume on DockerHub? Should we create an organization on there as well?
- If yes, we'll need to include
DOCKERHUB_USERNAMEandDOCKERHUB_API_KEYsecret variables on our build workflows using a GitHub environment - We'll need to follow these instructions to make our containers available on LDG
- We'll want to include two tags for each container:
latestandstable(or something similar).latestwill be pushed from the most recent build of the code, while the build workflow should pull the lastlatestand then push it tostableas a backup in case something breaks withlatest. The DockerHub repo should maintain timestamped tags (e.g. monthly22.01) for all versions
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.