update
This commit is contained in:
parent
1e67f223f7
commit
0bdf75446d
4 changed files with 58 additions and 2 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal 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"]
|
Loading…
Add table
Add a link
Reference in a new issue