From e7d5545dedac518972646aac024ea308bcaa37e5 Mon Sep 17 00:00:00 2001 From: b1ek Date: Sat, 5 Aug 2023 04:22:01 +1000 Subject: [PATCH] use debian instead of alpine --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3425d97..c439fdd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ -FROM rust:alpine as builder +FROM rust as builder WORKDIR /opt/build COPY . . -RUN apk add openssl && \ - cargo install --path . +RUN cargo install --path . -FROM alpine +FROM debian:bullseye-slim WORKDIR /opt/data COPY --from=builder /usr/local/cargo/bin/gitea-bot /bin/gitea-bot