File size: 626 Bytes
0526c16
38df99c
0526c16
 
 
 
 
 
 
 
66b268b
0526c16
 
36cdead
 
0526c16
36cdead
 
 
 
 
0526c16
421042b
 
36cdead
 
 
421042b
36cdead
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim

# Install Dev Mode required packages + useful tools
RUN apt-get update && \
    apt-get install -y \
      bash \
      git git-lfs \
      wget curl procps \
      htop vim nano \
      jq \
      tmux \
      build-essential && \
    rm -rf /var/lib/apt/lists/*

# Set up user with uid 1000 (required for Dev Mode)
RUN useradd -m -u 1000 user
USER user

ENV HOME=/home/user \
    PATH=/home/user/.local/bin:$PATH


WORKDIR /app
COPY --chown=user . /app

EXPOSE 7860

# Just keep the container alive - agent uses SSH to interact
CMD ["python", "-m", "http.server", "7860"]