1 Unstar Star 1 Fork 1

lonuslan / soloJavaMulanPSL-2.0

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
lonuslan's personal website. spread retract

https://www.lonuslan.com

Clone or download
Dockerfile 524 Bytes
Copy Edit Web IDE 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<d@b3log.org>"
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" ]

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/lonuslan/solo.git
git@gitee.com:lonuslan/solo.git
lonuslan
solo
solo
master

Search