initial commit

This commit is contained in:
2024-12-26 18:16:46 +11:00
commit 83bc61c1a4
12 changed files with 2099 additions and 0 deletions

21
Dockerfile Normal file
View File

@ -0,0 +1,21 @@
from aburgess/node:22-npm as deps
workdir /app
add package.json pnpm-lock.yaml ./
run pnpm install --prod
from deps as builder
run pnpm install
add . .
run nrr build
from aburgess/node:22
workdir /app
run apk add --no-cache tzdata
add package.json ./
copy --from=deps /app/node_modules /app/node_modules
copy --from=builder /app/dist /app/dist
entrypoint ["node", "/app/dist/main.js"]