36 Star 147 Fork 66

Gitee 极速下载/Poli

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/shzlw/poli
克隆/下载
Dockerfile 973 Bytes
一键复制 编辑 原始数据 按行查看 历史
Zhonglu 提交于 2020-05-22 09:32 . Add default value for multi series charts
# Build
FROM openjdk:8-jdk-alpine as builder
WORKDIR /app/src
COPY . .
# Install node and npm
RUN apk add --update nodejs nodejs-npm
ENV MAVEN_VERSION 3.5.4
ENV MAVEN_HOME /usr/lib/mvn
ENV PATH $MAVEN_HOME/bin:$PATH
# Install maven
RUN wget http://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz && \
tar -zxvf apache-maven-$MAVEN_VERSION-bin.tar.gz && \
rm apache-maven-$MAVEN_VERSION-bin.tar.gz && \
mv apache-maven-$MAVEN_VERSION /usr/lib/mvn
# Build the jar
RUN ./build.sh
# Deploy
FROM openjdk:8-jre-alpine
WORKDIR /app
COPY --from=builder /app/src/target/poli-0.12.2.jar /app/poli-0.12.2.jar
COPY --from=builder /app/src/db/poli.db /app/db/poli.db
COPY --from=builder /app/src/build_release/start.sh /app/start.sh
COPY --from=builder /app/src/config/poli.docker.properties /app/config/poli.properties
EXPOSE 6688
RUN mkdir /app/jdbc-drivers
RUN chmod +x /app/start.sh
ENTRYPOINT ["/app/start.sh"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/mirrors/Poli.git
git@gitee.com:mirrors/Poli.git
mirrors
Poli
Poli
master

搜索帮助