Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-java
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
dc-java
Commits
a1079f5c
Commit
a1079f5c
authored
Jul 10, 2019
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Amazon广告费
parent
0dc8fa56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
Dockerfile
data-base/base_sync_finance_amazon/Dockerfile
+24
-0
No files found.
data-base/base_sync_finance_amazon/Dockerfile
0 → 100644
View file @
a1079f5c
FROM
maven:3.6.0-alpine
RUN
apk add ca-certificates
&&
\
apk add tzdata
&&
\
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
&&
\
echo
"Asia/Shanghai"
>
/etc/timezone
# make source folder
RUN
mkdir
-p
/usr/app
WORKDIR
/usr/app
# install maven dependency packages (keep in image)
COPY
data-parent /usr/app/data-parent
COPY
data-common /usr/app/data-common
COPY
data-base /usr/app/data-base
COPY
data-mid /usr/app/data-mid
COPY
data-show /usr/app/data-show
RUN
cd
/usr/app/data-parent
&&
mvn
-T
1C install
-pl
../data-base/base-sync-finance_amazon
-am
#指定容器启动程序及参数 <ENTRYPOINT> "<CMD>"
EXPOSE
8080
ENTRYPOINT
["java","-Xms30m","-Xmx80m","-jar","/usr/app/data-base/base-sync-finance_amazon/target/base-sync-finance_amazon-1.0-SNAPSHOT.jar"]
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment