> For the complete documentation index, see [llms.txt](https://til.duyet.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.duyet.net/unix/checking-files-in-docker-build-context.md).

# Checking files in Docker build context

Build this Dockerfile

```
FROM busybox

RUN mkdir /tmp/build/
COPY . /tmp/build/
RUN du -ah tmp/build | sort -n -r | head -n 100
```

```bash
docker build .
```
