FROM ubuntu:24.04
# gopher64 is a native SDL3 emulator. Run it in Xvfb and publish real X11
# frames over the same HTTP player interface the NES/SNES examples use.
RUN apt-get update && apt-get install -y --no-install-recommends \
      ca-certificates python3 xvfb x11vnc xdotool x11-apps imagemagick \
      libfontconfig1 libx11-6 libxext6 libxcursor1 libxi6 libxfixes3 \
      libxrandr2 libxss1 libxtst6 libxinerama1 libasound2t64 \
      libvulkan1 mesa-vulkan-drivers \
    && rm -rf /var/lib/apt/lists/*
COPY Dockerfile serve.py player.html /opt/player/
EXPOSE 8080
