You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							18 lines
						
					
					
						
							583 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							18 lines
						
					
					
						
							583 B
						
					
					
				
								# 基础镜像(支持 amd64 & arm64),based on Ubuntu 18.04.4 LTS
							 | 
						|
								FROM adoptopenjdk:8-jdk-hotspot
							 | 
						|
								# 维护者
							 | 
						|
								MAINTAINER dudiao(idudiao@163.com)
							 | 
						|
								# 设置时区
							 | 
						|
								ENV TZ=Asia/Shanghai
							 | 
						|
								
							 | 
						|
								# 设置其他环境变量
							 | 
						|
								ENV APP_NAME=powerjob-worker-samples
							 | 
						|
								# 传递 SpringBoot 启动参数 和 JVM参数
							 | 
						|
								ENV PARAMS=""
							 | 
						|
								ENV JVMOPTIONS=""
							 | 
						|
								# 将应用 jar 包拷入 docker
							 | 
						|
								COPY target/powerjob-worker-samples-*.jar /powerjob-worker-samples.jar
							 | 
						|
								# 暴露端口(HTTP + AKKA)
							 | 
						|
								EXPOSE 8081 27777
							 | 
						|
								# 启动应用
							 | 
						|
								ENTRYPOINT ["sh","-c","java $JVMOPTIONS -jar /powerjob-worker-samples.jar $PARAMS"]
							 | 
						|
								
							 |