dashan
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.
 
 
 
 

16 lines
368 B

#基础镜像
FROM openjdk:17
# author
MAINTAINER dashan
# 挂载目录
VOLUME /home/dashan
# 创建目录
RUN mkdir -p /home/dashan
# 指定路径
WORKDIR /home/dashan
# 复制jar文件到路径
COPY ./jar/ds-miniapps-service.jar /home/dashan/ds-miniapps-service.jar
#暴漏端口
EXPOSE 15101
# 启动网关服务
ENTRYPOINT ["java","-jar","ds-miniapps-service.jar"]