update dockerfile

This commit is contained in:
JMARyA 2024-07-10 22:00:58 +02:00
parent 70bccc9ffc
commit 25931b97cf
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -5,10 +5,10 @@ WORKDIR /app
RUN cargo build --release
FROM archlinux
FROM debian:buster
RUN pacman -Syu --noconfirm
RUN pacman -S --noconfirm gnupg ca-certificates openssl-1.1
RUN apt update && apt upgrade -y
RUN apt install -y gnupg ca-certificates openssl
COPY --from=builder /app/target/release/me-site /me-site
COPY ./rocket.toml /rocket.toml