Explorar el Código

Don't let cd merge

ZiB hace 4 meses
padre
commit
73f0d54e4d
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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" \