Compare commits

..

1 Commits

Author SHA1 Message Date
0ffd8b06c0 feat: build artifactapi container
All checks were successful
Build / build (pull_request) Successful in 22s
- build artifactapi container
2026-01-06 23:49:39 +11:00

View File

@ -2,7 +2,6 @@
docker_source = "git.unkin.net/unkin/almalinux9-base:latest"
scripts_post_packages = [
"git clone https://git.unkin.net/unkin/artifactapi.git /app/artifactapi && uv build --wheel /app/artifactapi",
"uv tool install --from /app/artifactapi/dist/*.whl artifactapi",
"useradd -r -s /bin/sh appuser && chown -R appuser:appuser /app"
]
scripts_final = [
@ -13,6 +12,8 @@ docker_changes = [
"EXPOSE 8000",
"HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:8000/health || exit 1",
"USER appuser",
"uv tool install --from /app/artifactapi/dist/*.whl artifactapi",
"ENV PATH=\"/home/appuser/.local/bin:$PATH\""
"WORKDIR /app",
"CMD [\"artifactapi\"]"
]