From 1a78935c23ef2c756912d9f561a69569c2f45d2f Mon Sep 17 00:00:00 2001 From: Noel Sabia Date: Sun, 18 Oct 2026 14:38:14 +0200 Subject: [PATCH 1/2] feat: added dockerignore, a development docker image and a qa/prod docker image --- .dockerignore | 36 ++++++++++++++++++++++++++++++++++++ Dockerfile | 0 Dockerfile.dev | 19 +++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile create mode 100644 Dockerfile.dev diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..2f4da81 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,36 @@ +# Build-context filter for the Nuxt site. +# Anything listed here cannot be COPY-ed, so never add a path the Dockerfile +# copies: package.json, pnpm-lock.yaml, pnpm-workspace.yaml, nuxt.config.ts, +# app/, public/, tsconfig.json. + +# 1. Secrets never enter the build context +.env +.env.* +!.env.example +*.pem +*.key +.npmrc + +# 2. Noise: dependencies, build output, logs +node_modules +.nuxt +.output +.nitro +.data +.cache +dist +*.log +coverage + +# Repo and editor metadata +.git +.gitignore +.vscode +.idea +.fleet +.DS_Store + +# Not needed inside the image +Dockerfile +Dockerfile.* +.dockerignore diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e69de29 diff --git a/Dockerfile.dev b/Dockerfile.dev new file mode 100644 index 0000000..1556300 --- /dev/null +++ b/Dockerfile.dev @@ -0,0 +1,19 @@ +FROM node:26-slim@sha256:d62f13676d530f7edf97782729df69713c8ccfe6631e7f62f9ccab65968719a8 + +# Node no longer bundles pnpm (corepack and pnpm are both absent from this +# image), so install it. First instruction, so later changes reuse the layer. +RUN npm install -g pnpm@11.26.0 + +# The bind mount lands here at run time, owned by the image's `node` user. +# Its uid 1000 matches the host uid, so files it writes stay yours. +RUN mkdir -p /app && chown node:node /app +USER node +WORKDIR /app + +# Manifests only: this layer and the install below survive every source edit +# and re-run only when a manifest changes. +COPY --chown=node:node package.json pnpm-lock.yaml pnpm-workspace.yaml ./ +RUN pnpm install --frozen-lockfile + +EXPOSE 3000 +CMD ["pnpm", "run", "dev", "--", "--host", "0.0.0.0"] -- 2.54.0 From 7d508a5d9aab84f6b76064affea48b1d98315d2b Mon Sep 17 00:00:00 2001 From: Noel Sabia Date: Sun, 18 Oct 2026 16:38:01 +0200 Subject: [PATCH 2/2] ci: use deepseek-v4-pro at default thinking budget #max exceeded the available opencode account funds; the default thinking budget keeps the flagship model at lower cost. #max remains available by re-adding the variant. --- .gitea/workflows/pr-checker.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/pr-checker.yml b/.gitea/workflows/pr-checker.yml index ad840ff..e40704b 100644 --- a/.gitea/workflows/pr-checker.yml +++ b/.gitea/workflows/pr-checker.yml @@ -204,14 +204,15 @@ jobs: env: OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} run: | - # deepseek-v4-pro#max: flagship reasoning model at maximum thinking - # budget. Requires funds on the opencode account. - # Cheaper fallbacks: opencode/deepseek-v4.1-flash, or remove "#max". + # deepseek-v4-pro: flagship reasoning model at default thinking + # budget (cheaper than #max, sharper than flash). Requires funds + # on the opencode account. + # Cheaper fallbacks: opencode/deepseek-v4.1-flash, or add "#max". # Output is redirected (not piped through tee): if opencode fails, # the job must fail here so the error log is never posted as a # "review" comment. opencode run \ - --model opencode/deepseek-v4-pro#max \ + --model opencode/deepseek-v4-pro \ "You are a principal engineer performing a rigorous code review on a pull request. You have tool access: read repo files for context when the diff alone is ambiguous, but review ONLY code changed in this PR. -- 2.54.0