Point to latest docker image which gets built automaticaly now

This commit is contained in:
Jake Poznanski 2025-05-23 20:38:21 +00:00
parent e10a53c89a
commit 1ec7f8f300
2 changed files with 3 additions and 4 deletions

View File

@ -256,7 +256,6 @@ jobs:
type=ref,event=tag
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
flavor: |
latest=true

View File

@ -207,12 +207,12 @@ python -m olmocr.pipeline s3://my_s3_bucket/pdfworkspaces/exampleworkspace --pdf
Pull the Docker image.
```bash
docker pull alleninstituteforai/olmocr:0.1.68
docker pull alleninstituteforai/olmocr:latest
```
To run the container interactively:
```bash
docker run -it --gpus all --name olmocr_container alleninstituteforai/olmocr:0.1.68 /bin/bash
docker run -it --gpus all --name olmocr_container alleninstituteforai/olmocr:latest /bin/bash
```
If you want to access your local files inside the container, use volume mounting:
@ -220,7 +220,7 @@ If you want to access your local files inside the container, use volume mounting
docker run -it --gpus all \
-v /path/to/your/local/files:/local_files \
--name olmocr_container \
alleninstituteforai/olmocr:0.1.68 /bin/bash
alleninstituteforai/olmocr:latest /bin/bash
```
All dependencies are already installed. Once youre inside the container, you can run olmOCR commands. For example: