windows - ARG for mappebane virker ikke

Indlæg af Hanne Mølgaard Plasc

Problem



Dette virker:


COPY Subfolder/ /inetpub/wwwroot


Dette kopierer hele arbejdskatalogen (ikke kun undermappen)


ARG site\_root="Subfolder/"
# ARG site\_root="Subfolder/" # this doesnt work either
# ARG site\_root=Subfolder/ # this doesnt work either
# ARG site\_root=./Subfolder # this doesnt work either
# ARG site\_root=.Subfolder/ # this doesnt work either
# ARG site\_root=Subfolder # this doesnt work either
COPY ${site\_root} /inetpub/wwwroot


Hvordan bruger jeg subdir-stien i en var?

Bedste reference