1 Star 1 Fork 0

Ittutu/tuoj-backend

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 476 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ittutu 提交于 2023-10-23 22:24 . Initial commit
# Docker 镜像构建
# @author <a href="https://github.com/liyupi">程序员鱼皮</a>
# @from <a href="https://yupi.icu">编程导航知识星球</a>
FROM maven:3.8.1-jdk-8-slim as builder
# Copy local code to the container image.
WORKDIR /app
COPY pom.xml .
COPY src ./src
# Build a release artifact.
RUN mvn package -DskipTests
# Run the web service on container startup.
CMD ["java","-jar","/app/target/tuoj-backend-0.0.1-SNAPSHOT.jar","--spring.profiles.active=prod"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ittutu/tu-oj-backend.git
git@gitee.com:ittutu/tu-oj-backend.git
ittutu
tu-oj-backend
tuoj-backend
master

搜索帮助