BAEL-5494 code for the Keep Subdirectory Structure in Dockerfile Copy article

This commit is contained in:
thibault.faure 2022-09-15 16:37:39 +02:00
parent b8a97cbebd
commit 4d26f2168e
3 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,3 @@
FROM ubuntu:latest
COPY folder1/ folder2/ /workdir/
RUN ls --recursive /workdir/

View File

@ -0,0 +1,3 @@
FROM ubuntu:latest
COPY folder1/ /workdir/
RUN ls --recursive /workdir/

View File

@ -0,0 +1,5 @@
FROM ubuntu:latest
COPY folder1/ /workdir/
RUN ls --recursive /workdir/
COPY folder2/ /workdir/
RUN ls --recursive /workdir/