prakhar1989 / FoodTrucks

:truck: San Francisco's finger-licking street food now at your fingertips.
430 stars 419 forks source link

Optimize RUN commands #31

Open arxeiss opened 4 years ago

arxeiss commented 4 years ago

https://github.com/prakhar1989/FoodTrucks/blob/6d7479266f6b462cde7f2a393e40bbc42bd6fcee/Dockerfile#L7

According to Docker documentation of RUN (https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run), you should combine as many RUN as possible into single one. What do you think about updating it? And also in the tutorial