feat: add mock Teensy support with entrypoint and LTC generator

Co-authored-by: aider (openai/gpt-5) <aider@aider.chat>
This commit is contained in:
Chaos Rogers 2025-10-21 23:40:14 +01:00
parent ddbdf8cb72
commit f855cac040
4 changed files with 76 additions and 0 deletions

View file

@ -31,14 +31,19 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libudev1 \
ca-certificates \
tzdata \
socat \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY --from=builder /app/target/release/get-haci /usr/local/bin/get-haci
COPY static ./static
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
COPY scripts/ltc_gen.sh /usr/local/bin/ltc-gen.sh
RUN chmod +x /usr/local/bin/entrypoint.sh /usr/local/bin/ltc-gen.sh
ENV RUST_LOG=info
EXPOSE 8080
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["get-haci"]