Did you add a build action hook for running ‘python manage.py collectstatic’ to generate the static files?
If you did, is the ‘build’ file executable? Is STATIC_ROOT set in the Django settings file. Can you post the output from ‘docker build’ so can see what was run? Graham > On 8 Dec 2016, at 11:11 AM, Armazi <[email protected]> wrote: > > Hello > Thanks a lot for this image. It saved me from a lot of time. > However, the static files of my Django app are not served and I don't know > why. > Could you help me ? > > Le mercredi 26 novembre 2014 12:20:13 UTC+1, Graham Dumpleton a écrit : > If anyone is a user of docker and/or has already been playing around with > mod_wsgi-express, you might like to monitor my latest little project. > > https://registry.hub.docker.com/u/grahamdumpleton/mod-wsgi-docker/ > <https://registry.hub.docker.com/u/grahamdumpleton/mod-wsgi-docker/> > > Hard to see how one could make it simpler. > > Graham > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/modwsgi > <https://groups.google.com/group/modwsgi>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
