Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
9b4343e4
Commit
9b4343e4
authored
Sep 11, 2023
by
macro
Browse files
Update Dockerfile
parent
c7c76aa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
document/sh/Dockerfile
View file @
9b4343e4
...
...
@@ -2,7 +2,7 @@
FROM
openjdk:8
# 将当前目录下的jar包复制到docker容器的/目录下
ADD
mall-admin-1.0-SNAPSHOT.jar /mall-admin-1.0-SNAPSHOT.jar
# 声明服务运行在808
8
端口
# 声明服务运行在808
0
端口
EXPOSE
8080
# 指定docker容器启动时运行jar包
ENTRYPOINT
["java", "-jar","/mall-admin-1.0-SNAPSHOT.jar"]
...
...
Write
Preview
Supports
Markdown
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