couchdb-orm 0.1.6

couchdb-orm Copyright (C) 2020-2023 OpenToolAdd This program comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it under certain conditions; type `show-license' for details. A CLI ORM to manage some Databases operations like migration, schema creation, etc.... For the moment it only handle CouchDB.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# syntax=docker/dockerfile:experimental
from rustlang/rust:nightly
ENV HOME=/usr/src
WORKDIR $HOME/app

COPY src/ $HOME/app/src
COPY static/ $HOME/app/static
COPY tests/ $HOME/app/tests
COPY _meta/ $HOME/app/_meta
COPY Cargo.toml $HOME/app
COPY LICENSE $HOME/app
COPY LICENSE_DISCLAIMER $HOME/app
COPY tarpaulin.toml $HOME/app
COPY Cargo.lock $HOME/app

RUN --mount=type=cache,target=/usr/local/cargo/registry \
    --mount=type=cache,target=/usr/src/app/target \
    cargo build --release