From 801747c7bcb0b72398d1115717ccf1cbe1a8eb7c Mon Sep 17 00:00:00 2001 From: asonix Date: Thu, 22 Dec 2022 14:57:42 -0600 Subject: [PATCH] Set workdir to /mnt, add cargo toml fields --- Cargo.toml | 5 ++++- docker/drone/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b48bfeb..60997de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,11 @@ [package] name = "warriors-names" +description = "A bot that generates warriors cat names and posts them to mastodon" version = "0.2.1" authors = ["asonix "] -edition = "2018" +license = "AGPL-3.0" +repository = "https://git.asonix.dog/asonix/warriors-names" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/docker/drone/Dockerfile b/docker/drone/Dockerfile index a3ee0de..c025b36 100644 --- a/docker/drone/Dockerfile +++ b/docker/drone/Dockerfile @@ -6,7 +6,7 @@ COPY warriors-names /usr/local/bin/warriors-names USER app EXPOSE 8080 -EXPOSE 6669 VOLUME /mnt +WORKDIR /mnt ENTRYPOINT ["/sbin/tini", "--"] CMD ["/usr/local/bin/warriors-names"]