mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-11 17:44:19 -05:00
16 lines
249 B
Docker
16 lines
249 B
Docker
FROM rust:1.77.0-bullseye as builder
|
|
WORKDIR /builder
|
|
|
|
COPY . .
|
|
|
|
RUN cargo build -p monitor_core --release
|
|
|
|
FROM gcr.io/distroless/cc
|
|
|
|
# COPY ./frontend/build /frontend
|
|
|
|
COPY --from=builder /builder/target/release/core /
|
|
|
|
EXPOSE 9000
|
|
|
|
CMD ["./core"] |