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"]