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.
Deze oefening maakt deel uit van de cursus
Introduction to Docker
Oefeninstructies
- Using the terminal, open the Dockerfile in your current working directory and edit the third line to set the user to repl.
Praktische interactieve oefening
Zet theorie om in actie met een van onze interactieve oefeningen.
Begin met trainen