1 Star 0 Fork 106

fireln/code-diff

forked from dray/code-diff 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 511 Bytes
一键复制 编辑 原始数据 按行查看 历史
Dray 提交于 2023-07-28 16:52 +08:00 . [modify]
FROM openjdk:8-jdk-alpine
ENV LANG=C.UTF-8
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk update && apk add git curl maven
COPY settings.xml /root/.m2/
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
VOLUME /tmp
ARG JAR_FILE=target/code-diff-*.jar
COPY ${JAR_FILE} app.jar
COPY run.sh .
RUN chmod 777 run.sh
ENV JAVA_OPTS="-server -Xms512m -Xmx1g -Dsping.profiles.active=docker"
RUN ls -l
ENTRYPOINT ["sh","/run.sh"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fireln/code-diff.git
git@gitee.com:fireln/code-diff.git
fireln
code-diff
code-diff
master

搜索帮助