mitra/Dockerfile

16 lines
320 B
Docker
Raw Permalink Normal View History

2024-02-22 11:03:29 +00:00
FROM syui/aios
RUN git clone https://codeberg.org/silverpill/mitra /app/tmp
WORKDIR /app/tmp
RUN cargo build --release --features production
RUN mv target/release/mitra /app/
RUN mv target/release/mitractl /app/
WORKDIR /app
RUN rm -rf /app/tmp
ADD ./config.yaml /app/
ADD ./dist /app/dist
ENTRYPOINT ["/app/mitra"]