synthwave/Dockerfile

17 lines
276 B
Text
Raw Normal View History

2024-07-28 14:12:06 +00:00
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"]