Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use venvwrapper in docker entrypoint.sh

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