feat: add development mode flag HACI_DEV and PTP status fields in API/UI

Co-authored-by: aider (openai/gpt-5) <aider@aider.chat>
This commit is contained in:
Chaos Rogers 2025-10-22 12:46:27 +01:00
parent ee4a5a3630
commit d8eb1f9824
6 changed files with 115 additions and 1 deletions

View file

@ -20,7 +20,7 @@ RUN rm -rf src
# Copy full source and build project
COPY . .
RUN cargo build --release
RUN cargo build --release && cargo install --locked statime
# (Statime installation removed; container runs only haci)
@ -37,6 +37,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /app
COPY --from=builder /app/target/release/get-haci /usr/local/bin/get-haci
COPY --from=builder /usr/local/cargo/bin/statime /usr/local/bin/statime
COPY static ./static
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
COPY scripts/ltc_gen.sh /usr/local/bin/ltc-gen.sh