Setting the working directory
Putting the finishing touches to your pipeline Docker image, you want to make it clear that all pipeline project files in your images will be in the repl users' home directory by setting the working directory to /home/repl
.
This exercise is part of the course
Introduction to Docker
Exercise instructions
- Using the terminal, open the Dockerfile in your current working directory and edit the fourth line to make all next instructions run in
/home/repl
.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
