xian-ncc-da-server/Dockerfile
soul-walker ea41232bc6
All checks were successful
local-test分支构建docker并发布运行 / Docker-Build (push) Successful in 16m54s
修改submodule url
添加local-test工作流构建发布
2024-03-28 09:54:47 +08:00

12 lines
299 B
Docker

FROM azul/zulu-openjdk-alpine:17
ADD target/xian-ncc-da-0.1.jar xian-ncc-da.jar
ENV APP_ENV=prd
EXPOSE 9081
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
CMD java -jar -Dfile.encoding=UTF-8 -Dspring.profiles.active=$APP_ENV /xian-ncc-da.jar