FROM gcr.io/distroless/static-debian12 ARG TARGETARCH ARG ASW_GRAPH_URL COPY asw-linux-${TARGETARCH} /usr/local/bin/asw ADD ${ASW_GRAPH_URL} /data/asw.graph ENV ASW_GRAPH=/data/asw.graph ENV ASW_HOST=0.0.0.0 ENV ASW_PORT=3000 EXPOSE 3000 HEALTHCHECK --interval=10s --timeout=5s --retries=3 --start-period=120s \ CMD ["/usr/local/bin/asw", "healthcheck"] ENTRYPOINT ["asw"] CMD ["serve"]