[damned-lies/oscp] Enable python36 plugin
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies/oscp] Enable python36 plugin
- Date: Wed, 25 Mar 2020 22:55:09 +0000 (UTC)
commit 8ac0b88ade0a5b764cffca67adf3ffc3a40351d5
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Wed Mar 25 23:54:50 2020 +0100
Enable python36 plugin
uwsgi/Dockerfile | 2 +-
uwsgi/entrypoint.sh | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/uwsgi/Dockerfile b/uwsgi/Dockerfile
index ad95c133..e0459f03 100644
--- a/uwsgi/Dockerfile
+++ b/uwsgi/Dockerfile
@@ -16,4 +16,4 @@ ADD uwsgi.ini /uwsgi.ini
USER l10n
ENTRYPOINT ["/entrypoint.sh"]
-CMD ["uwsgi", "--enable-threads", "--ini", "/uwsgi.ini"]
+CMD ["uwsgi", "--enable-threads", "--ini", "--plugin=python36", "/uwsgi.ini"]
diff --git a/uwsgi/entrypoint.sh b/uwsgi/entrypoint.sh
index 8cdf6dc2..058f34bd 100755
--- a/uwsgi/entrypoint.sh
+++ b/uwsgi/entrypoint.sh
@@ -8,7 +8,4 @@ sed -i "s/\$SECRET_KEY/${SECRET_KEY}/" /l10n/damnedlies/damnedlies/local_setting
sed -i "s/\$SENTRY_DSN/${SENTRY_DSN}/" /l10n/damnedlies/damnedlies/local_settings.py
sed -i "s/\$GITLAB_TOKEN/${GITLAB_TOKEN}/" /l10n/damnedlies/damnedlies/local_settings.py
-echo 'Compiling translations'
-/l10n/venv/bin/python manage.py compile-trans
-
exec "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]