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
3 changes: 3 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Create and publish a Docker image

on:
push:
branches:
- main
workflow_dispatch:

env:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
gh-pages
Doxyfile
node_modules
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v24
28 changes: 20 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
FROM python:3.9 as builder
FROM node:24-slim AS base

ENV PNPM_HOME="/pnpm"
ENV CI="true"
ENV PATH="$PNPM_HOME:$PATH"

RUN npm install -g pnpm

COPY pnpm-workspace.yaml /app/pnpm-workspace.yaml
COPY pnpm-lock.yaml /app/pnpm-lock.yaml
COPY package.json /app/package.json

WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .

RUN bash ./build.sh output
FROM base AS prod

FROM nginx:alpine as runner
RUN pnpm install --frozen-lockfile
COPY . /app
RUN pnpm run build

COPY default.conf /etc/nginx/conf.d/default.conf
FROM oven/bun:1.3 AS final

WORKDIR /app
COPY --from=prod /app/dist /app/dist

COPY --from=builder /app/output /usr/share/nginx/html
CMD [ "bun", "run", "./dist/serve.js" ]
21 changes: 0 additions & 21 deletions build.sh

This file was deleted.

2 changes: 0 additions & 2 deletions cli/.gh-include

This file was deleted.

17 changes: 0 additions & 17 deletions cli/index.rst

This file was deleted.

224 changes: 0 additions & 224 deletions cli/usage.rst

This file was deleted.

4 changes: 4 additions & 0 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
rules: {},
};
15 changes: 0 additions & 15 deletions conf.py

This file was deleted.

13 changes: 0 additions & 13 deletions default.conf

This file was deleted.

28 changes: 28 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$schema": "https://mintlify.com/docs.json",
"theme": "almond",
"name": "NanoForge",
"colors": {
"primary": "#4923b6",
"light": "#b794f6",
"dark": "#7c3aed"
},
"navigation": {
"languages": [
{
"language": "en",
"tabs": [
{
"tab": "Documentation",
"groups": [
{
"group": "CLI",
"pages": ["docs/cli/index", "docs/cli/usage"]
}
]
}
]
}
]
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 0 additions & 10 deletions index.rst

This file was deleted.

Loading