Docker build of Loris IIIF Image Server
- Dockerfile 79.6%
- Makefile 20.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Test & Version / code-quality (push) Has been skipped
Test & Version / checks (push) Has been skipped
Test & Version / Test build dev (push) Has been skipped
Test & Version / Test build prod (push) Has been skipped
Test & Version / test-build (push) Has been skipped
Test & Version / Bump version and changelog with commitizen (push) Has been skipped
Test & Version / bump-version (push) Has been skipped
Publish Image / Build and push loris-ci (push) Successful in 48s
|
||
| .forgejo/workflows | ||
| examples | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| .hadolint.yaml | ||
| .prettierignore | ||
| CHANGELOG.md | ||
| cz.toml | ||
| Dockerfile | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
loris-docker
Container images for loris, a IIIF Image API 2.0 Level 2 compliant image server.
Two images are published from this repo:
| Image | Built from | Purpose |
|---|---|---|
code.modernleft.org/gravityfargo/loris-ci |
dev stage |
Test environment: runtime and dev dependencies |
code.modernleft.org/gravityfargo/loris |
prod stage |
Production server |
Using loris-ci
FROM code.modernleft.org/gravityfargo/loris-ci:<version>
COPY --chown=app:app . /app
RUN uv sync --locked
The venv lives at /opt/venv, outside /app, so a bind-mounted source tree cannot shadow it.
The prod image
loris prod image not implemented
Local builds
make build # both targets
make build-ci # loris-ci:local
make build-prod # loris:local
make run # shell in loris-ci:local
make lint # hadolint