This repository has been archived on 2023-05-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
neo/custom/backups/Dockerfile
2023-04-12 12:28:53 +02:00

18 lines
291 B
Docker
Executable file

FROM rust AS builder
WORKDIR /app
COPY ./repo /app
RUN cargo build --release
FROM ubuntu
COPY --from=builder /app/target/release/bits-backups /app/bits-backups
COPY ./config/config.toml /app/config.toml
COPY ./config/tasks/* /app/tasks/
WORKDIR /app
ENTRYPOINT ["/app/bits-backups"]