mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
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:
parent
ddbdf8cb72
commit
f855cac040
4 changed files with 76 additions and 0 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue