From f4ccb42a381ef881bb41989d3ee68ade76080395 Mon Sep 17 00:00:00 2001 From: Tim de Koning Date: Mon, 13 Mar 2017 22:18:47 +0100 Subject: [PATCH] A fix for #31 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8a04adb..0c61ee9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,4 +33,4 @@ RUN apt-get update && apt-get install -y nodejs && \ COPY . /app EXPOSE 3000 -CMD ["sh", "-c", "xvfb-run --server-args=\"-screen 0 ${WINDOW_WIDTH}x${WINDOW_HEIGHT}x24\" ./electron --disable-gpu src/server.js"] +CMD ["sh", "-c", "[ -e /tmp/.X99-lock ] && rm /tmp/.X99-lock; xvfb-run -e /dev/stdout --server-args=\"-screen 0 ${WINDOW_WIDTH}x${WINDOW_HEIGHT}x24\" ./electron --disable-gpu src/server.js"]