Skip to content

Commit

Permalink
Switch docs to use bun
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Jan 20, 2025
1 parent d35bc3d commit 7e5da83
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 776 deletions.
11 changes: 3 additions & 8 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,17 @@ WORKDIR /app/

RUN apt-get update

# Install NodeJS
# --------------
RUN curl -fsSL https://deb.nodesource.com/setup_23.x -o nodesource_setup.sh
RUN bash nodesource_setup.sh
RUN apt-get install -y nodejs

# Create/Activate Python Venv
# ---------------------------
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

# Install Python Build
# ---------------------------
# Install Python Build Dependencies
# ---------------------------------
RUN pip install --upgrade pip poetry hatch uv
RUN curl -fsSL https://bun.sh/install | bash
ENV PATH="/root/.bun/bin:$PATH"

# Copy Files
# ----------
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_custom_js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Build the javascript with

```
npm run build
bun run build
```

This will drop a javascript bundle into `../_static/custom.js`
Binary file added docs/source/_custom_js/bun.lockb
Binary file not shown.
Loading

0 comments on commit 7e5da83

Please sign in to comment.