💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[Dockerfile创建镜像](https://www.cnblogs.com/niloay/p/6261784.html) Dockerfile ``` # This dockerfile uses the ubuntu image # VERSION 2 - EDITION 1 # Author: docker_user # Command format: Instruction [arguments / command] .. # Base image to use, this must be set as the first line FROM ubuntu # Maintainer: docker_user <docker_user at email.com> (@docker_user) MAINTAINER docker_user docker_user@email.com # Commands to update the image #RUN echo "deb http://archive.ubuntu.com/ubuntu/ raring main universe" >> /etc/apt/sources.list #RUN apt-get update && apt-get install -y nginx #RUN echo "\ndaemon off;" >> /etc/nginx/nginx.conf # Commands when creating a new container #CMD /usr/sbin/nginx ENV JAVA_HOME=/opt/tools/jdk1.8.0_131 ENV PATH=$JAVA_HOME/bin:$PATH ENV CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar # docker build -t nova/jdk . # docker run -it --name my-java -d java ```