1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Docker

Exercise

Setting the user

You've finished the python code for the pipeline you were building and have gotten all the feedback you need from colleagues. To make your pipeline Docker image more foolproof, you want to set the user to repl before the project files are copied into the image. We've already added the RUN instruction to create a repl user for you.

Instructions

100 XP
  • Using the terminal, open the Dockerfile in your current working directory and edit the third line to set the user to repl.