diff --git a/Dockerfile b/Dockerfile index 8b7be2d..f70c9d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,12 @@ FROM openjdk:17-jdk-slim COPY build/libs/CozyDiscord-*-all.jar /usr/local/lib/CozyDiscord.jar RUN mkdir /bot +RUN mkdir /bot/data RUN mkdir /bot/plugins -RUN mkdir /data WORKDIR /bot +VOLUME /bot/data +VOLUME /bot/plugins + ENTRYPOINT ["java", "-Xms2G", "-Xmx2G", "-jar", "/usr/local/lib/CozyDiscord.jar"]