use debian instead of alpine

This commit is contained in:
b1ek 2023-08-05 04:22:01 +10:00
parent 2f4573d1c0
commit e7d5545ded
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 3 additions and 4 deletions

View File

@ -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