mirror of
https://github.com/Noratrieb/wakeonlan.git
synced 2026-01-14 16:55:01 +01:00
app
This commit is contained in:
parent
563ba7c519
commit
68d5e7360d
8 changed files with 1035 additions and 16 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
FROM rust as build
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM gcr.io/distroless/static-debian12
|
||||
|
||||
COPY --from=build /build/target/release/wakeonlan /app/wakeonlan
|
||||
|
||||
ENTRYPOINT [ "/app/wakeonlan" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue