use debian instead of alpine
This commit is contained in:
parent
2f4573d1c0
commit
e7d5545ded
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue