-
Install
uvif not installed. -
Locally, sync and lock the python environment.
uv sync uv lock
-
Confirm that everything works locally
uv run python -c "from MLpred import mlpred, funcs" -
Build Docker image:
docker build -t mlpred:latest . -
Test Docker image:
docker run -it --rm mlpred:latest \ uv run python3 -c \ "from MLpred import mlpred, funcs" -
Configure AWS:
# Also set AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN export AWS_REGION="us-west-2" export ECR_REPO="466270585360.dkr.ecr.us-west-2.amazonaws.com/geos-cf/mlpred" aws ecr get-login-password --region $AWS_REGION | \ docker login --username AWS --password-stdin $ECR_REPO
-
Tag and push Docker images
docker image tag mlpred:latest "$ECR_REPO:latest" docker push "$ECR_REPO:latest"
forked from noussairlazrak/GEOS-CF-Bias-Correction
-
Notifications
You must be signed in to change notification settings - Fork 0
License
CarlMalings/GEOS-CF-Bias-Correction
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Languages
- Python 99.9%
- Dockerfile 0.1%