1 Star 1 Fork 0

dbak/spring-boot-mongo-docker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 396 Bytes
一键复制 编辑 原始数据 按行查看 历史
balajireddylachhannagari 提交于 2019-07-03 21:32 . first commit
FROM openjdk:8-alpine
# Required for starting application up.
RUN apk update && apk add /bin/sh
RUN mkdir -p /opt/app
ENV PROJECT_HOME /opt/app
COPY target/spring-boot-mongo-1.0.jar $PROJECT_HOME/spring-boot-mongo.jar
WORKDIR $PROJECT_HOME
CMD ["java", "-Dspring.data.mongodb.uri=mongodb://mongo:27017/spring-mongo","-Djava.security.egd=file:/dev/./urandom","-jar","./spring-boot-mongo.jar"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dbak/spring-boot-mongo-docker.git
git@gitee.com:dbak/spring-boot-mongo-docker.git
dbak
spring-boot-mongo-docker
spring-boot-mongo-docker
master

搜索帮助