17 lines
276 B
Text
17 lines
276 B
Text
|
FROM rust:buster as builder
|
||
|
|
||
|
COPY . /app
|
||
|
WORKDIR /app
|
||
|
|
||
|
RUN cargo build --release
|
||
|
|
||
|
FROM debian:buster
|
||
|
|
||
|
RUN apt update && apt upgrade -y
|
||
|
RUN apt install -y gnupg ca-certificates openssl
|
||
|
|
||
|
COPY --from=builder /app/target/release/synthwave /synthwave
|
||
|
|
||
|
WORKDIR /
|
||
|
|
||
|
CMD ["/synthwave"]
|