added frontend + securing beta server invites

This commit is contained in:
2026-01-02 22:50:02 +05:30
parent cb12b8ef75
commit 9b17a99456
52 changed files with 5409 additions and 5 deletions

View File

@@ -6,14 +6,15 @@ RUN cargo build --release --bin void-sentinel
RUN strip target/release/void-sentinel -o /usr/local/bin/void-sentinel
FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y ca-certificates tzdata && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y ca-certificates tzdata && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/bin/void-sentinel /usr/local/bin/void-sentinel
RUN groupadd -g 1001 appgroup && useradd -u 1001 -g appgroup -s /bin/false -m appuser
RUN groupadd -g 1001 appgroup && useradd -u 1001 -g appgroup -s /bin/false -m appuser
USER appuser
WORKDIR /app
EXPOSE 8080
CMD ["/usr/local/bin/void-sentinel"]