mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-04 14:59:15 -05:00
16 lines
240 B
Docker
16 lines
240 B
Docker
FROM rust:1.71.1 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"] |