Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
M
ms-mcms
Project
Project
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
上官
ms-mcms
Commits
b1eb7e84
Commit
b1eb7e84
authored
Feb 02, 2023
by
上官
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Dockerfile
parent
c136817c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+2
-2
No files found.
Dockerfile
View file @
b1eb7e84
...
...
@@ -3,9 +3,9 @@ FROM 192.168.200.56:5000/geek/openjdk:8
# 指明镜像维护者及其联系方式(姓名+邮箱)
MAINTAINER
1476387263@qq.com
# 制作镜像的时候需要运行的命令,RUN后面接linux里的命令,这个命令是在制作镜像的时候使用的
RUN
mkdir
-p
/
geekmore
/article
RUN
mkdir
-p
/
ms-mcms
/article
# 镜像的工作目录,docker exec 命令执行的时候进入的目录
WORKDIR
/
geekmore
/article
WORKDIR
/
ms-mcms
/article
# 指明容器运行的时候暴露的端口
EXPOSE
13598
# ADD和COPY作用相似,可以从一个URL地址下载内容复制到容器的文件系统中,还可以将压缩打包格式的文件解压后复制到指定位置
...
...
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