Conversation
* Add basic Dockerfile and docker-entrypoint file * draft aws cli inside of docker container * access aws s3 with saved cred * update readme * update docker commands * update readme * update readme --------- Co-authored-by: ascibisz <alli.scibisz@alleninstitute.org>
…ging/cellpack-server
* draft aws cli inside of docker container * access aws s3 with saved cred * update readme * update docker commands * update readme * update readme * add parameter for when we're using docker to default to using the staging firebase db * read recipe and config in from docker run params * use dockerignore file to prevent bloat in docker image * add `batch_job_id` to result metadata (#295) * retrieve job id * formatting * add a bucket for batch jobs * formatting * remove print statement and add comments --------- Co-authored-by: Ruge Li <rugeli0605@gmail.com> Co-authored-by: Ruge Li <91452427+rugeli@users.noreply.github.com>
…e/cellpack into staging/cellpack-server
…ging/cellpack-server
…ging/cellpack-server
* keep grid_file_path when loading recipe from firebase * only add grid_file_path if it's in the firebase recipe
* Add Dockerfile.ecs for our ECS image and rename old Dockerfile to Dockerfile.batch * add intentional error handling for if packing fails * change messaging from /hello endpoint
mogres
left a comment
There was a problem hiding this comment.
Looks good to me!!
Tested by running a test packing on batch via docker. The README instructions were easy to follow! The image was fairly large and took a long time to setup using pip. At some point we should revisit pruning the requirements, pinning versions, adding a pyproject.toml, upgrading the python version, and using a modern package manager like uv or pdm for cellPACK. Maybe this can be something that can be tackled early/mid June?
|
Having an issue with uploading results through the dockerfile right now. Uploads work on my local machine but not when run through the dockerfile. |
Thanks for testing! We're focused on manuscript writing, ECS setup, and UX designs, but everything you mentioned above is definitely should be on our development checklist. |
Yeah that's expected for now, we're using a different aws role for docker-related work, and are still working with IT to getting a more permanent aws setup. We'll keep the team posted once we have a solution! |
Thanks for the clarification! Does this also apply when running Docker locally? The instructions map my local |
…ancer requirements
…h results to cellpack-demo/



Problem
What is the problem this work solves, including
Dockerization of cellpack codebase
Solution
What I/we did to solve this problem
Dockerfile,docker-entrypoint.sh,dockerignore-dflag to set staging database as default for client-end jobsnext TODO: #323 (currently blocking because our AWS role is temporary with short token session, will get this fix when IT replies). We are merging this branch slightly ahead of time to make the ECS infrastructure setup easier.
shout out to @ascibisz for awesome system design insights and collaborations!
Type of change
Please delete options that are not relevant.
Steps to Verify: