diff options
| -rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,6 @@ FROM clux/muslrust:1.89.0-stable AS chef USER root +RUN sudo apk add openssl RUN cargo install cargo-chef WORKDIR /app @@ -17,6 +18,7 @@ RUN rm rust-toolchain.toml RUN cargo build --release --target x86_64-unknown-linux-musl --bin pfp FROM docker.io/alpine:3 AS runtime +RUN sudo apk add openssl WORKDIR /app COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/pfp /usr/local/bin/ CMD ["/usr/local/bin/pfp"] |
