FROM node:20-bookworm-slim SHELL ["/bin/bash", "-lc"] RUN apt-get update \ && apt-get install -y --no-install-recommends curl ca-certificates bash \ && rm -rf /var/lib/apt/lists/* RUN curl https://cursor.com/install -fsS | bash ENV PATH="/root/.local/bin:/root/.cursor/bin:${PATH}" WORKDIR /app CMD ["bash", "-lc", "agent worker start"]