Checking files in Docker build context
Sometimes we need to check files in Docker build context, or just to check .dockerignore is work or not
FROM busybox
RUN mkdir /tmp/build/
COPY . /tmp/build/
RUN du -ah tmp/build | sort -n -r | head -n 100docker build .Last updated