• 文件 Dockerfile

FROM libre:03

COPY ./jars /jars #复制程序到images

WORKDIR /jars  #指定工作目录 
#,"-Djava.security.egd=file:/dev/./urandom", "-Xmx512m","-Xms512m"  #加速启动,指定内存
ENTRYPOINT ["java","-jar","office_test.jar"]  #自启动程序