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