This change will prevent from using root user in order to run the application. I also updated .dockerignore so you have less files in the image. I wasn't sure if you need .git for some reason in the image so I left it inside. But if you don't need it then it should be included in .dockerignore as well.
This change will prevent from using root user in order to run the application. I also updated
.dockerignore
so you have less files in the image. I wasn't sure if you need.git
for some reason in the image so I left it inside. But if you don't need it then it should be included in.dockerignore
as well.