From 134ee8b7cd06a86ec184783f0e4729c509db0f92 Mon Sep 17 00:00:00 2001
From: Bryan  BRANCOTTE <bryan.brancotte@pasteur.fr>
Date: Wed, 13 Sep 2023 11:46:02 +0200
Subject: [PATCH] Update Dockerfile.python

---
 Dockerfile.python | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Dockerfile.python b/Dockerfile.python
index 7097a40..fb43c2e 100644
--- a/Dockerfile.python
+++ b/Dockerfile.python
@@ -58,3 +58,6 @@ RUN chown shiny:shiny /var/lib/shiny-server \
  && chown shiny:shiny /var/log/shiny-server \
  && mkdir -p /srv/shiny-server/www \
  && chown shiny:shiny /srv/shiny-server/www
+
+# When a lib uses QT (such as ETE3), it can fail to load as there is no X11
+ENV QT_QPA_PLATFORM=offscreen
-- 
GitLab