[OPB-6] adding ability to define folders for config and log in docker compose

This commit is contained in:
Sheldan
2021-03-24 14:12:52 +01:00
parent 1717954cb6
commit 6f9dfb1087
2 changed files with 9 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ MAINTAINER Sheldan
VOLUME /tmp
ADD bot/app.jar /app.jar
ADD config/* /config/
VOLUME ["/config"]
VOLUME ["/logs"]
ADD wrapper/*.sh /
RUN chmod +x /start.sh
CMD ["/start.sh"]