We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aef51e5 commit 3078f41Copy full SHA for 3078f41
entrypoint.sh
@@ -65,13 +65,10 @@ else
65
chown -R rnacentral "${RNACENTRAL_HOME}"/rnacentral/rnacentral/local_settings.py
66
fi
67
68
-# Run collectstatic only if static files are missing
69
-if [ -z "$(ls -A /srv/rnacentral/static)" ]; then
70
- echo "INFO: Collecting static files..."
71
- python "${RNACENTRAL_HOME}"/rnacentral/manage.py collectstatic --noinput
72
-else
73
- echo "INFO: Static files already present, skipping collectstatic."
74
-fi
+
+echo "INFO: Collecting static files..."
+python "${RNACENTRAL_HOME}"/rnacentral/manage.py collectstatic --noinput
75
76
# Run django compressor
77
echo "INFO: Running django compress"
0 commit comments