Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Creating-dockerFile/USING-WORKDIR.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ And then adde the following to this file:
```bash
FROM UBUNTU

// Few files in one dir, few in another
# Few files in one dir, few in another

RUN touch /root/testfile.txt
RUN touch /root/testfile2.txt
RUN touch /root/testfile3.txt

// To create more folders

RUN mkdir-p root/testFolder/child-1
RUN mkdir-p root/testFolder/child-2
RUN mkdir -p root/testFolder/child-1
RUN mkdir -p root/testFolder/child-2

/* Tiresome work */
```
Expand All @@ -35,7 +35,7 @@ FROM ubuntu
WORKDIR /root/

RUN touch ./textfile1.txt
RUN touch ./textfile2.txt
RUN mkdir ./newFolder/childFolder-1
RUN mkdir ./newFolder/childFolder-1

WORKDIR ./root/newFolder/child-Folder-1
Expand Down