Running database migrations and generating static content is currently manual. A Docker Entrypoint is required which:
Creates and runs database migrations with production settings (--settings=reverie.settings.prod)
Runs the webpack build.
There's an additional requirement to generate static content which can be exposed to the neighbouring nginx container. A Docker volume seems to be the best solution.
If the resulting webpack code could make its way into this volume to also be served by Nginx, that would be a bonus.
Running database migrations and generating static content is currently manual. A Docker Entrypoint is required which:
There's an additional requirement to generate static content which can be exposed to the neighbouring nginx container. A Docker volume seems to be the best solution.
If the resulting webpack code could make its way into this volume to also be served by Nginx, that would be a bonus.