This commit is contained in:
JMARyA 2024-07-28 16:12:06 +02:00
parent 1e67f223f7
commit 0bdf75446d
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
4 changed files with 58 additions and 2 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
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"]