Set workdir to /mnt, add cargo toml fields

This commit is contained in:
asonix 2022-12-22 14:57:42 -06:00
parent 39e2344fb2
commit 801747c7bc
2 changed files with 5 additions and 2 deletions

View file

@ -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 <asonix@asonix.dog>"]
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

View file

@ -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"]