# Use a lightweight base with noVNC already baked in FROM jlesage/baseimage-gui:ubuntu-22.04-v4 # Set the application name for the GUI window ENV APP_NAME="Architect-Utility" # HF mandatory: Set the internal port to 7860 ENV VNC_PORT=7860 EXPOSE 7860 # Install dependencies for the Grass helper RUN apt-get update && apt-get install -y wget curl # Create the HF mandatory user directory structure RUN mkdir -p /home/user/app && chmod -R 777 /home/user WORKDIR /home/user/app # Download the Grass Desktop CLI (2026 Latest) # Note: This is a placeholder for the binary; usually, we run the # browser extension in a headless chrome instance for Grass. RUN curl -L https://github.com/stempst0r/grass-docker/raw/main/startapp.sh -o /usr/bin/startapp.sh RUN chmod +x /usr/bin/startapp.sh # Set the working directory to where HF expects it WORKDIR /app