Skip to content

Commit 7e5da83

Browse files
committed
Switch docs to use bun
1 parent d35bc3d commit 7e5da83

File tree

6 files changed

+10
-776
lines changed

6 files changed

+10
-776
lines changed

docs/Dockerfile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,17 @@ WORKDIR /app/
33

44
RUN apt-get update
55

6-
# Install NodeJS
7-
# --------------
8-
RUN curl -fsSL https://deb.nodesource.com/setup_23.x -o nodesource_setup.sh
9-
RUN bash nodesource_setup.sh
10-
RUN apt-get install -y nodejs
11-
126
# Create/Activate Python Venv
137
# ---------------------------
148
ENV VIRTUAL_ENV=/opt/venv
159
RUN python3 -m venv $VIRTUAL_ENV
1610
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
1711

18-
# Install Python Build
19-
# ---------------------------
12+
# Install Python Build Dependencies
13+
# ---------------------------------
2014
RUN pip install --upgrade pip poetry hatch uv
2115
RUN curl -fsSL https://bun.sh/install | bash
16+
ENV PATH="/root/.bun/bin:$PATH"
2217

2318
# Copy Files
2419
# ----------

docs/source/_custom_js/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Build the javascript with
44

55
```
6-
npm run build
6+
bun run build
77
```
88

99
This will drop a javascript bundle into `../_static/custom.js`

docs/source/_custom_js/bun.lockb

14.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)