1 Star 0 Fork 538

魏天佑 / PlayEdu开源培训系统

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
Dockerfile 524 Bytes
Copy Edit Raw Blame History
xxx authored 2023-09-22 13:37 . docker 时区
FROM eclipse-temurin:17 as builder
COPY . /app
WORKDIR /app
RUN /app/mvnw -Dmaven.test.skip=true clean package
FROM eclipse-temurin:17
WORKDIR /app
# 使用东八区时间环境
RUN echo "Asia/Shanghai" > /etc/timezone
# 将指定目录下的jar包复制到docker容器的/目录下
COPY --from=builder /app/playedu-api/target/playedu-api.jar /app/app.jar
RUN chmod +x /app/app.jar
# 声明服务运行在8080端口
EXPOSE 9898
# 指定docker容器启动时运行jar包
ENTRYPOINT ["java", "-jar", "/app/app.jar"]
Java
1
https://gitee.com/weity/playedu.git
git@gitee.com:weity/playedu.git
weity
playedu
PlayEdu开源培训系统
main

Search