Add isolated Luau rule engine service
Build and publish rule engine / release (push) Failing after 1m34s
Build and publish rule engine / release (push) Failing after 1m34s
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
FROM harbor.k3s.k0.nu/ai-spel/game-builder:rust1.89-v2 AS builder
|
||||
WORKDIR /src
|
||||
COPY Cargo.toml Cargo.lock* ./
|
||||
COPY crates ./crates
|
||||
RUN cargo build --locked --release -p ai-spel-rule-engine
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=builder /src/target/release/ai-spel-rule-engine /usr/local/bin/ai-spel-rule-engine
|
||||
USER 65532:65532
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["/usr/local/bin/ai-spel-rule-engine"]
|
||||
Reference in New Issue
Block a user