Closed raisiqueira closed 2 years ago
A small improvement for the frontend Dockerfile (https://github.com/vintasoftware/django-react-boilerplate/blob/master/frontend/Dockerfile#L3), the mkdir /app/ layer isn't necessary because WORKDIR creates the folder if it doesn't exist.
mkdir /app/
WORKDIR
Dockerfile's reference: https://docs.docker.com/engine/reference/builder/#workdir
A small improvement for the frontend Dockerfile (https://github.com/vintasoftware/django-react-boilerplate/blob/master/frontend/Dockerfile#L3), the
mkdir /app/
layer isn't necessary becauseWORKDIR
creates the folder if it doesn't exist.Dockerfile's reference: https://docs.docker.com/engine/reference/builder/#workdir