Pixies, part 9: Let's containerize the Backend
Remember when we create a neat compact Docker image for the frontend? Now we are going to do the same thing for the backend.
Allowed Hosts Before we start working on the Dockerfile for the backend, we need to take care of one thing. Because we are not going to run the backend app in the Docker in the DEBUG mode, Django will require that the ALLOWED_HOSTS setting is set. This setting is a security measure which prevents certain types of the security attacks.
[Read More]