The current repo belongs to Paused status, and some functions are restricted. For details, please refer to the description of repo status
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
Dockerfile 526 Bytes
Copy Edit Raw Blame History
FROM maven:3-jdk-8-alpine as MVN_BUILD
WORKDIR /opt/solo/
ADD . /tmp
RUN cd /tmp && mvn package -DskipTests -Pci -q && mv target/solo/* /opt/solo/ \
&& cp -f /tmp/src/main/resources/docker/* /opt/solo/
FROM openjdk:8-alpine
LABEL maintainer="Liang Ding<845765@qq.com>"
WORKDIR /opt/solo/
COPY --from=MVN_BUILD /opt/solo/ /opt/solo/
RUN apk add --no-cache ca-certificates tzdata
ENV TZ=Asia/Shanghai
ARG git_commit=0
ENV git_commit=$git_commit
EXPOSE 8080
ENTRYPOINT [ "java", "-cp", "lib/*:.", "org.b3log.solo.Server" ]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化