Update Dockerfile
Browse files6 unmodified lines789101112138 unmodified lines22232425266 unmodified lineschromium chromium-driver \&& rm -rf /var/lib/apt/lists/*# Fix the X11 directory permission errorRUN mkdir -p /tmp/.X11-unix && chmod 1777 /tmp/.X11-unixRUN useradd -m -u 1000 user8 unmodified linesRUN pip install --no-cache-dir -r requirements.txtCOPY --chown=user . .# Added -nolisten unix to quiet the error you sawCMD ["sh", "-c", "Xvfb :99 -screen 0 1280x720x24 -nolisten unix & python app.py"]6 unmodified lines7891011128 unmodified lines21222324256 unmodified lineschromium chromium-driver \&& rm -rf /var/lib/apt/lists/*RUN mkdir -p /tmp/.X11-unix && chmod 1777 /tmp/.X11-unixRUN useradd -m -u 1000 user8 unmodified linesRUN pip install --no-cache-dir -r requirements.txtCOPY --chown=user . .# Added -extension to Xvfb to help with rendering game elementsCMD ["sh", "-c", "Xvfb :99 -screen 0 1280x720x24 -ac +extension GLX +render -noreset & python app.py"]
Dockerfile+2-3