Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
.github
.vscode
12 changes: 5 additions & 7 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,17 @@ jobs:
- name: Checkout repository ⬇️
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up pnpm
uses: pnpm/action-setup@91ab88e2619ed1f46221f0ba42d1492c02baf788 # v6.0.6

- name: Use Node.js 25.x ⚙️
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 25.x
cache: "npm"

- name: Setup Aikido Safe Chain
run: |
npm i -g @aikidosec/safe-chain
safe-chain setup-ci
cache: "pnpm"

- name: Install dependencies 📦
run: npm ci --safe-chain-skip-minimum-package-age
run: pnpm install --frozen-lockfile

- name: Check code quality 🔍
run: node --run lint
Expand Down
15 changes: 12 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
FROM ghcr.io/pnpm/pnpm:11.2.1 AS install-deps

WORKDIR /app
COPY package.json ./
COPY pnpm-lock.yaml ./
COPY pnpm-workspace.yaml ./
RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
pnpm i --frozen-lockfile --store-dir /pnpm/store

FROM node:26-alpine AS builder

WORKDIR /app

RUN apk add --no-cache git

COPY --exclude=node_modules . .
RUN npm ci
COPY . .
COPY --from=install-deps /app/node_modules ./node_modules

RUN npm run build
RUN node --run build
Comment thread
timokoessler marked this conversation as resolved.

FROM nginx:1-alpine

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ This website is built with [Fumadocs](https://www.fumadocs.dev/) and [Tanstack S
1. Install the dependencies:

```bash
npm install
pnpm install
```

2. Start the development server:

```bash
npm run dev
pnpm run dev
```

### Structure
Expand Down
Loading