diff --git a/Dockerfile.sample b/Dockerfile.sample index 3f8636d..3b199b5 100644 --- a/Dockerfile.sample +++ b/Dockerfile.sample @@ -4,4 +4,4 @@ ENV jarFileName=ContentGrabbingJi-exec.jar COPY ${jarFileName} /CGJ.jar RUN mkdir /data/ -CMD java -Dcgj.logsPath=/data/logs -jar /CGJ.jar botMode -botDataDir=/data \ No newline at end of file +CMD ["java", "-Dcgj.logsPath=/data/logs", "-jar", "/CGJ.jar", "botMode", "-botDataDir=/data"] \ No newline at end of file