1 Star 0 Fork 0

阿布/hygieia-codequality-sonar-collector

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile.build 615 Bytes
一键复制 编辑 原始数据 按行查看 历史
# our base build image
FROM maven:3.6-jdk-8 as build
# copy the project files
COPY ./pom.xml ./pom.xml
# build all dependencies
# RUN mvn dependency:go-offline -B
# copy your other files
COPY ./src ./src
# build for release
RUN mvn package
FROM openjdk:8-jre
VOLUME ["/hygieia/logs"]
RUN mkdir /hygieia/config
EXPOSE 8080
ENV PROP_FILE /hygieia/config/application.properties
WORKDIR /hygieia
COPY --from=build target/*.jar /hygieia/
COPY docker/properties-builder.sh /hygieia/
CMD ./properties-builder.sh &&\
java -Djava.security.egd=file:/dev/./urandom -jar *.jar --spring.config.location=$PROP_FILE
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yingmingzongyu/hygieia-codequality-sonar-collector.git
git@gitee.com:yingmingzongyu/hygieia-codequality-sonar-collector.git
yingmingzongyu
hygieia-codequality-sonar-collector
hygieia-codequality-sonar-collector
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385