| # debian.sh --arch 'amd64' out/ 'bookworm' '@1783900800' |
| /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl libssl3 && rm -rf /var/lib/apt/lists/* |
| /bin/sh -c mkdir -p /app/static && curl -sSL https://unpkg.com/htmx.org@1.9.10/dist/htmx.min.js -o /app/static/htmx.min.js |
| WORKDIR /app |
| COPY file:1e9042afae129a4689749eac2126382be3aa42dc5d98c58ee8020f478ced9fba in /usr/local/bin/license-server |
| COPY dir:c7accd436c71f9785556ee5cdc9446c1a0620458cb05ffc710e9e672cc4df9dc in ./templates |
| COPY dir:529852f361dc9e850723b24ded07d89da587bbae4df6e844cb43725f68b30f13 in ./static |
| COPY dir:a9ff7f8620a80b6c85e9e469615aeb232f868994fc41dfa48641882b650b6772 in ./static/console |
| COPY dir:700bcbc74e4831afa5e87b9dfc04c2fe608227ff2be6f8d48af34f96fe663f9d in ./migrations |
| ENV BIND_ADDR=0.0.0.0:8080 |
| EXPOSE 8080 |
| HEALTHCHECK --interval=30s --timeout=3s --start-period=10s --retries=3 CMD curl -fsS http://localhost:8080/healthz || exit 1 |
| ENTRYPOINT ["/usr/local/bin/license-server"] |