Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cnooc_zydeepen-cggl_expert-manage-miniapp
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
孙德龙
cnooc_zydeepen-cggl_expert-manage-miniapp
Commits
5d4af887
Commit
5d4af887
authored
Nov 22, 2025
by
kenzo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add dockerfile
parent
868d3282
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
7 deletions
+1
-7
Dockerfile
+1
-7
No files found.
src/main/resources/
Dockerfile
→
Dockerfile
View file @
5d4af887
...
...
@@ -19,14 +19,9 @@
FROM
java:8-jre-alpine
ENV
TZ='Asia/Shanghai'
WORKDIR
/home/server/
ADD
target/
expert-manage-miniapp-1.0.0
.jar /home/server/app.jar
ADD
target/
*
.jar /home/server/app.jar
VOLUME
/home/server
ENV
JAVA_OPTS=""
EXPOSE
9001
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/
*
ENTRYPOINT
[ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /home/server/app.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