mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
chore: move migrations to rust
also adds some basic test seed data
This commit is contained in:
parent
277bfebb33
commit
47c5990218
66 changed files with 173 additions and 10 deletions
|
|
@ -25,6 +25,7 @@ COPY Cargo.lock /build/
|
|||
|
||||
COPY crates/ /build/crates
|
||||
|
||||
RUN cargo build --bin migrate --release --target x86_64-unknown-linux-musl
|
||||
RUN cargo build --bin api --release --target x86_64-unknown-linux-musl
|
||||
RUN cargo build --bin dispatch --release --target x86_64-unknown-linux-musl
|
||||
RUN cargo build --bin gateway --release --target x86_64-unknown-linux-musl
|
||||
|
|
@ -35,6 +36,7 @@ RUN cargo build --bin gdpr_worker --release --target x86_64-unknown-linux-musl
|
|||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=binary-builder /build/target/x86_64-unknown-linux-musl/release/migrate /migrate
|
||||
COPY --from=binary-builder /build/target/x86_64-unknown-linux-musl/release/api /api
|
||||
COPY --from=binary-builder /build/target/x86_64-unknown-linux-musl/release/dispatch /dispatch
|
||||
COPY --from=binary-builder /build/target/x86_64-unknown-linux-musl/release/gateway /gateway
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue