mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-29 22:27:33 +00:00
11 lines
312 B
Docker
11 lines
312 B
Docker
FROM openjdk:14
|
|
|
|
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
|
|
ENV jarFileName=ContentGrabbingJi-exec.jar
|
|
ENV CGJ_REDIS_URI="127.0.0.1:6379"
|
|
ENV CGJ_PROXY=""
|
|
RUN mkdir /data/
|
|
CMD [java, "-Dcgj.logsPath=/data/logs", "-jar", "/CGJ.jar", "botMode", "-botDataDir=/data"]
|
|
|
|
COPY ${jarFileName} /CGJ.jar
|