wger
wger copied to clipboard
No images/pictures for exercises in Docker demo image
Steps to Reproduce
- Run the Docker demo command (i.e.
docker run -ti --name wger.demo --publish 8000:80 wger/demo) - Log in
- Go to exercises site
Expected results: At least some exercises having images.
Actual results:
Only placeholder images are present, all calls to /media end up in 404.
Just to test things out, I checked what was going on inside the container and it seems that media folder has not been copied from /home/wger/src, or Apache2 configuration was meant to be a bit different.
Quick and dirty fix for that was cp /home/wger/src/media/exercise-images /home/wger/media/ -r so appropriate change in Dockerfile would probably do the trick.
Yes, there's something broken here, I'll take a look