agent / Dockerfile
GamerC0der's picture
Create Dockerfile
b1754f2 verified
Raw
History Blame Contribute Delete
350 Bytes
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"]