rust-image

This commit is contained in:
Untone 2024-04-08 20:06:25 +03:00
parent fbf2c6f593
commit c1f3bd96ab

View File

@ -1,4 +1,4 @@
FROM rustlang/rust as build
FROM rust as build
# had to add this for open-ssl
RUN apt-get update -y && \
@ -23,7 +23,7 @@ COPY ./src ./src
RUN rm ./target/release/deps/presence*
RUN cargo build --release
FROM rustlang/rust
FROM rust
ENV RUST_BACKTRACE=full
RUN apt-get update && apt install -y openssl libssl-dev