forked from projectmoon/tenebrous-dicebot
Set cache dir to something more accessible.
This commit is contained in:
parent
f3de145663
commit
33ac91063b
|
@ -1,3 +1,4 @@
|
|||
target/
|
||||
dicebot-config
|
||||
todo
|
||||
cache
|
||||
|
|
|
@ -25,11 +25,13 @@ RUN . /root/.cargo/env && cargo build --release
|
|||
|
||||
# Final image
|
||||
FROM bougyman/voidlinux:latest
|
||||
RUN xbps-install -Sy ca-certificates libstdc++ libressl
|
||||
RUN xbps-install -Sy ca-certificates libstdc++
|
||||
COPY --from=builder \
|
||||
/root/src/target/release/dicebot \
|
||||
/usr/local/bin/
|
||||
COPY --from=builder \
|
||||
/usr/local/bin/tini \
|
||||
/usr/local/bin/
|
||||
|
||||
ENV XDG_CACHE_HOME "/cache"
|
||||
ENTRYPOINT [ "/usr/local/bin/tini", "-v", "--", "/usr/local/bin/dicebot", "/config/dicebot-config.toml" ]
|
||||
|
|
Loading…
Reference in New Issue