16 lines
320 B
Docker
16 lines
320 B
Docker
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"]
|