Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
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
bailuntec-cost
Commits
d37d86ee
Commit
d37d86ee
authored
Jan 27, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 导出功能
parent
e6fb4330
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
Dockerfile
cost-service/src/main/docker/Dockerfile
+13
-1
No files found.
cost-service/src/main/docker/Dockerfile
View file @
d37d86ee
...
@@ -2,7 +2,19 @@ FROM openjdk:8-jdk-alpine
...
@@ -2,7 +2,19 @@ FROM openjdk:8-jdk-alpine
VOLUME
/tmp
VOLUME
/tmp
ADD
cost-service-1.0-SNAPSHOT.jar cost-service-1.0-SNAPSHOT.jar
ADD
cost-service-1.0-SNAPSHOT.jar cost-service-1.0-SNAPSHOT.jar
RUN
echo
"Asia/Shanghai"
>
/etc/timezone
RUN
echo
"Asia/Shanghai"
>
/etc/timezone
RUN
apk add
--update
font-adobe-100dpi ttf-dejavu fontconfig
RUN
echo
-e
"https://mirror.tuna.tsinghua.edu.cn/alpine/v3.4/main
\n\
https://mirror.tuna.tsinghua.edu.cn/alpine/v3.4/community"
>
/etc/apk/repositories
RUN
apk
--update
add curl bash ttf-dejavu
&&
\
rm
-rf
/var/cache/apk/
*
RUN
echo
"http://mirrors.aliyun.com/alpine/v3.6/main"
>
/etc/apk/repositories
\
&&
echo
"http://mirrors.aliyun.com/alpine/v3.6/community"
>>
/etc/apk/repositories
\
&&
apk update upgrade
\
&&
apk add
--no-cache
procps unzip curl bash tzdata
\
&&
apk add ttf-dejavu
\
&&
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
\
&&
echo
"Asia/Shanghai"
>
/etc/timezone
ENTRYPOINT
["java","-Xms1G","-Xmx1G","-jar","-Dspring.profiles.active=test","/cost-service-1.0-SNAPSHOT.jar"]
ENTRYPOINT
["java","-Xms1G","-Xmx1G","-jar","-Dspring.profiles.active=test","/cost-service-1.0-SNAPSHOT.jar"]
EXPOSE
8082
EXPOSE
8082
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