ZiB пре 4 месеци
родитељ
комит
73f0d54e4d
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      docker/entrypoint.sh

+ 3 - 0
docker/entrypoint.sh

@@ -50,6 +50,9 @@ if [ "$SERVICE" = "calc" ]; then
 
 # Standard API
 else
+  export DISPLAY=:99
+  Xvfb ${DISPLAY} -screen 0 1280x720x24 -ac &
+
   exec uvicorn "room_cal.api:create_app" --factory \
     --host "$API_HOST" \
     --port "$API_PORT" \