Set workdir to /mnt, add cargo toml fields
This commit is contained in:
parent
39e2344fb2
commit
801747c7bc
|
@ -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
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue