Skip to content

Add docker image build and publish workflow#210

Open
chAwater wants to merge 4 commits into
HannesStark:mainfrom
chAwater:ci-docker-image
Open

Add docker image build and publish workflow#210
chAwater wants to merge 4 commits into
HannesStark:mainfrom
chAwater:ci-docker-image

Conversation

@chAwater
Copy link
Copy Markdown
Contributor

Hi, thanks for this repo! it's been really useful for my work!


I'd love to have an official docker image so I can just pull on our server instead of manually check for update and rebuilding.
So I put together everything and make this PR.

  1. Add docker-publish.yml
    • Using github actions to build and push the docker image to github ghcr.io
  2. Reroder the Dockerfile for better caching
  3. Fix cache path for non-root user
    • PermissionError: [Errno 13] Permission denied: '/.cache'
    • RuntimeError: cannot cache function '_prepare_msa_arrays_inner': no locator available for file '/app/src/boltzgen/data/feature/featurizer.py'

I have been using this setup in my own workflow (github actions to build the image + a self-hosted runner to test).
I thought this setup is quite useful, so I wanted to share the config and hope it may be helpful for others as well.


My github actions logs:

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.

Provide Docker image

1 participant