mirror of
https://github.com/moghtech/komodo.git
synced 2026-09-10 00:01:02 +00:00
13 lines
245 B
Docker
13 lines
245 B
Docker
FROM rust:latest as builder
|
|
WORKDIR /periphery
|
|
|
|
COPY . .
|
|
|
|
RUN cargo build -p periphery --release
|
|
|
|
FROM debian:stable-slim
|
|
# install git and docker
|
|
|
|
COPY --from=builder /periphery/target/release/periphery /usr/local/bin/periphery
|
|
|
|
CMD "periphery" |