Fixed some things not being ignored e.g. node_modules, which bloats the image. I thought I fixed this in #16; not sure why I thought it fixed it back then.
Added logging to stdout.
Disabled debug mode by default when running with Docker Compose. It might be possible to support debug mode, but for now it's going to be disabled since it's broken for various reasons outlined in the commit messages. Just run the site outside of Docker if debug mode is needed.
Avoid 400 errors due to host not being allowed. The ALLOWED_HOSTS was much stricter when debug mode is off, so it was not possible to test locally when running the site through Docker. The fix was to support changing ALLOWED_HOSTS via an environment variable, which I set in Docker Compose by default to allow all hosts.
node_modules
, which bloats the image. I thought I fixed this in #16; not sure why I thought it fixed it back then.ALLOWED_HOSTS
was much stricter when debug mode is off, so it was not possible to test locally when running the site through Docker. The fix was to support changingALLOWED_HOSTS
via an environment variable, which I set in Docker Compose by default to allow all hosts.