Files
AIPass/Dockerfile
T
88bd97a687 S57: spawn fix + bypass updates + Dockerfile auth (#134)
* fix(security): enable auth on code-server container

Unauthenticated code-server exposed to all network interfaces.
Changed --auth none to --auth password. Auto-generates random
password on first run.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* feat(seedgo): checker consolidation: testing→error_handling, test_coverage merged into test_quality v4.0

Co-Authored-By: @seedgo <seedgo@aipass>

* S57: spawn .spawn/README.md fix, bypass updates, Dockerfile auth, README stats

- Spawn: fixed .spawn/ skip in regenerate_registry_ops + meta_ops (was blocking .spawn/README.md push)
- Bypass updates: cli, flow, trigger — testing→error_handling, test_coverage→test_quality refs
- Dockerfile: auth enabled on code-server container
- README: updated stats (130+ PRs, 56 sessions, 1600+ tests, 96% compliance)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: @seedgo <seedgo@aipass>
2026-03-27 23:05:00 -07:00

35 lines
978 B
Docker

FROM codercom/code-server:latest
USER root
# Install Python + Node.js (for Claude Code)
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
python3-venv \
python3-full \
alsa-utils \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
# Install Claude Code (as coder so it's accessible at runtime)
USER 1000
RUN curl -fsSL https://claude.ai/install.sh | bash
USER root
ENV PATH="/home/coder/.local/bin:$PATH"
# Create venv owned by coder user (UID 1000)
RUN python3 -m venv /opt/venv \
&& chown -R 1000:1000 /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
# Empty workspace — clone your own repo after boot
RUN mkdir -p /home/coder/workspace && chown 1000:1000 /home/coder/workspace
USER 1000
ENV PATH="/opt/venv/bin:$PATH"
EXPOSE 8080
ENTRYPOINT ["/usr/bin/entrypoint.sh", "--bind-addr", "0.0.0.0:8080", "--auth", "password", "/home/coder/workspace"]