Add build and run commands with Dockerfile
This commit is contained in:
parent
c9a1c59eb4
commit
2e9b73a768
2 changed files with 34 additions and 4 deletions
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
FROM rust:1.88
|
||||
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
|
||||
RUN cargo build --release
|
||||
CMD ["./target/release/lwn-sub-snoozer", "/rss/lwn-sub.xml"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue