mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-30 06:37:36 +00:00
[Add] Dockerfile.sample 增加一个用于构建CGJ-BotMode镜像的Dockerfile模板;
This commit is contained in:
parent
7f83b16118
commit
2388cd419e
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
|
Loading…
Reference in New Issue
Block a user