add default dockerfile

This commit is contained in:
InsanusMokrassar 2023-10-05 20:56:38 +06:00
parent 4c7e4f375a
commit 8983eff109
1 changed files with 8 additions and 0 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM adoptopenjdk/openjdk11
ADD ./build/distributions/booru_grabber_bot.tar /
RUN chown -R 1000:1000 "/booru_grabber_bot"
USER 1000
ENTRYPOINT ["/booru_grabber_bot/bin/booru_grabber_bot", "/booru_grabber_bot/config.json"]