Toggle navigation
Toggle navigation
This project
Loading...
Sign in
datasync
/
yoho-datasync-fullsync
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
chaogeng
2019-03-21 17:33:54 +0800
Commit
747c3da91b8e6424243e1b721751e6fc260aaa90
2 parents
e6dea27d
9cdb5c51
Merge branch 'master' of
http://git.yoho.cn/datasync/yoho-datasync-fullsync
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
Dockerfile
Dockerfile
0 → 100644
View file @
747c3da
#base image
FROM ccr.ccs.tencentyun.com/yoho-base/openjdk:8u191-jre-alpine3.8-fix
LABEL maintainer="jimi.ji@yoho.cn"
# 执行需要修改的环境变量,不同的部署获取不同的值
ENV SPRING_PROFILES_ACTIVE prod
ENV XMX 1300M
ENV XMS 1300M
# 打包的路径,
COPY starter/target/yoho-fullsync.jar /opt/yoho-fullsync.jar
VOLUME /Data/logs/yoho-fullsync
EXPOSE 8080
CMD exec java -Xmx$XMX -Xms$XMS -jar /opt/yoho-fullsync.jar
\ No newline at end of file
...
...
Please
register
or
login
to post a comment