-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (24 loc) · 695 Bytes
/
Dockerfile
File metadata and controls
30 lines (24 loc) · 695 Bytes
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 python:3.12
WORKDIR /app
# Common Tools
RUN apt-get update && apt-get install -y \
ca-certificates \
curl \
git \
gnupg \
jq \
ripgrep \
unzip \
&& rm -rf /var/lib/apt/lists/*
COPY core/requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
# Ref: https://github.com/j3soon/dockerfile-fragments/blob/main/codex/Dockerfile
# Install Codex CLI
RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash -
RUN apt-get update && apt-get install -y \
nodejs \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g @openai/codex
# Install Bun
RUN curl -fsSL https://bun.sh/install | bash
ENTRYPOINT ["/bin/bash"]