mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 08:27:25 +00:00
Add blank lines before lists per CommonMark
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
`COPY` 是在构建镜像时,将构建上下文(Dockerfile 所在目录及其子目录)中的文件或目录复制到容器内的指令。它是处理应用代码、配置文件最常用的方式。
|
||||
|
||||
典型场景:
|
||||
|
||||
- 复制应用源码:`COPY . /app`
|
||||
- 复制配置文件:`COPY nginx.conf /etc/nginx/nginx.conf`
|
||||
- 复制静态资源:`COPY public /app/public`
|
||||
|
||||
Reference in New Issue
Block a user