mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-07-01 04:47:26 +00:00
[Add] Dockerfile.sample 增加一个用于构建CGJ-BotMode镜像的Dockerfile模板;
This commit is contained in:
7
Dockerfile.sample
Normal file
7
Dockerfile.sample
Normal file
@ -0,0 +1,7 @@
|
||||
FROM openjdk:8u252-jre
|
||||
|
||||
ENV jarFileName=ContentGrabbingJi-exec.jar
|
||||
COPY ${jarFileName} /program/CGJ.jar
|
||||
RUN mkdir /program/data
|
||||
|
||||
CMD cd /program/data && java -jar /program/CGJ.jar botMode
|
Reference in New Issue
Block a user