✖️ replace pgp crate

This commit is contained in:
JMARyA 2022-11-14 22:07:09 +01:00
parent 31c20fff10
commit 4ddadfdce9
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
6 changed files with 30 additions and 704 deletions

View file

@ -1,17 +1,17 @@
FROM rust as builder
FROM rust:buster as builder
COPY . /app
WORKDIR /app
RUN cargo build --release
FROM ubuntu
FROM debian
RUN apt-get update
RUN apt-get install -y gnupg
RUN apt-get install -y gnupg ca-certificates
COPY --from=builder /app /app
COPY --from=builder /app/target/release/me-site /app/me-site
WORKDIR /app
CMD ["/app/target/release/me-site"]
CMD ["/app/me-site"]