Chris4K commited on
Commit
4f38dfb
·
verified ·
1 Parent(s): dbe7d35

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -4
Dockerfile CHANGED
@@ -3,9 +3,14 @@ WORKDIR /app
3
 
4
  RUN useradd -m -u 1000 user
5
 
6
- # Dev tools agents will exec
7
  RUN apt-get update && apt-get install -y --no-install-recommends \
8
- bash git curl nodejs npm \
 
 
 
 
 
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  COPY requirements.txt .
@@ -13,10 +18,9 @@ RUN pip install --no-cache-dir -r requirements.txt
13
 
14
  COPY . .
15
 
16
- # Create workspace dirs
17
  RUN mkdir -p workspace/code workspace/reports workspace/scratch workspace/shared \
18
  .vault_history && chown -R user:user /app
19
 
20
  USER user
21
  EXPOSE 7860
22
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
3
 
4
  RUN useradd -m -u 1000 user
5
 
6
+ # Dev tools agents will exec — gh CLI, ripgrep, pandoc added Sprint 6
7
  RUN apt-get update && apt-get install -y --no-install-recommends \
8
+ bash git curl wget nodejs npm ripgrep pandoc \
9
+ && curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \
10
+ | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
11
+ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" \
12
+ > /etc/apt/sources.list.d/github-cli.list \
13
+ && apt-get update && apt-get install -y gh \
14
  && rm -rf /var/lib/apt/lists/*
15
 
16
  COPY requirements.txt .
 
18
 
19
  COPY . .
20
 
 
21
  RUN mkdir -p workspace/code workspace/reports workspace/scratch workspace/shared \
22
  .vault_history && chown -R user:user /app
23
 
24
  USER user
25
  EXPOSE 7860
26
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]