File size: 641 Bytes
e5919a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
eb3a170
e5919a2
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Scope Interview Agent — Hugging Face Docker Space (same recipe as code-search)
FROM python:3.12-slim-bookworm

RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
    PATH=/home/user/.local/bin:$PATH \
    PYTHONUNBUFFERED=1 \
    PORT=7860
WORKDIR /home/user/app

COPY --chown=user:user requirements.txt .
RUN pip install --no-cache-dir --user -r requirements.txt

# App + pre-rendered avatar. The agent's instructions are fetched at runtime
# from NASA-IMPACT/akd-plugins (single source of truth).
COPY --chown=user:user app.py bot-avatar.png ./
COPY --chown=user:user artifact ./artifact

EXPOSE 7860
CMD ["python", "app.py"]