added frontend + securing beta server invites
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user