Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Force compression, install migrations in docker entrypoint

Scott Peshak4ea4ec6f47aa
diff --git a/extras/docker/apache/entrypoint.sh b/extras/docker/apache/entrypoint.sh
index 4eafa6862..46a5877d6 100755
--- a/extras/docker/apache/entrypoint.sh
+++ b/extras/docker/apache/entrypoint.sh
@@ -1,8 +1,10 @@
#!/bin/sh
+/home/wger/venvwrapper migrate
+
if [ "${USE_S3}" = "TRUE" ]; then
/home/wger/venvwrapper collectstatic --no-input
- /home/wger/venvwrapper compress
+ /home/wger/venvwrapper compress --force
fi
/usr/sbin/apache2ctl -D FOREGROUND