| # debian.sh --arch 'amd64' out/ 'stable' '@1787529600' |
| /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/* |
| COPY dir:e94c5c5fe1c00cc3ca9127e5c00c178d76609fe8a5bbdd835afe9b6fbec48f1a in /opt/tonkatsu |
| COPY dir:e9332ccec87e592fff276bcbc38b6196ee1e3f58c9cd9931f9acb468ddf16b07 in /srv/web |
| COPY file:82b09ee453ec356b3873c8651285b655fecfeec3975975dac1c55d6117a296b6 in /entrypoint.sh |
| /bin/sh -c chmod +x /entrypoint.sh |
| ENV TONKATSU_DATA_DIR=/data TONKATSU_WEB_ROOT=/srv/web TONKATSU_ADDRESS=0.0.0.0 TONKATSU_PORT=8080 |
| VOLUME /data |
| EXPOSE 8080 |
| HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 CMD ["bash", "-c", "exec 3<>/dev/tcp/127.0.0.1/${TONKATSU_PORT} && printf 'GET /health HTTP/1.0\\r\\n\\r\\n' >&3 && head -1 <&3 | grep -q ' 200 '"] |
| ENTRYPOINT ["/entrypoint.sh"] |