osc-api (sha256:00c7af96c9883b1bd3b7f0ffd1407956d259c19a743fc7a67f8970f674d90b0b)
Installation
docker pull git.sulej.net/osc_dev/osc-api@sha256:00c7af96c9883b1bd3b7f0ffd1407956d259c19a743fc7a67f8970f674d90b0bsha256:00c7af96c9883b1bd3b7f0ffd1407956d259c19a743fc7a67f8970f674d90b0bImage layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1782172800' |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates git git-lfs curl && git lfs install --skip-repo && rm -rf /var/lib/apt/lists/* # buildkit |
| WORKDIR /app |
| COPY /app/target/release/osc-api /usr/local/bin/osc-api # buildkit |
| EXPOSE [8000/tcp] |
| HEALTHCHECK {Test:[CMD-SHELL curl -fsS http://127.0.0.1:8000/api/health || exit 1] Interval:30s Timeout:3s StartPeriod:10s StartInterval:0s Retries:3} |
| CMD ["osc-api"] |