FROM 117.78.10.170:3001/library/tomcat-session:8-alpine ARG WAR_FILE ARG APP_NAME COPY ${WAR_FILE} /usr/local/tomcat/webapps/${APP_NAME}.war #端口 EXPOSE 8080 #设置启动命令 ENTRYPOINT ["/usr/local/tomcat/bin/catalina.sh","run"]