use alpine for building

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

View File

@ -1,8 +1,9 @@
FROM rust as builder FROM rust:alpine as builder
WORKDIR /opt/build WORKDIR /opt/build
COPY . . COPY . .
RUN cargo install --path . RUN apk add openssl && \
cargo install --path .
FROM alpine FROM alpine