Add Docker components

This commit is contained in:
Alexander Harding
2026-06-30 21:13:25 -04:00
parent a5f534d8e1
commit 8e531708b2
5 changed files with 41 additions and 3 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM node:22-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY --from=builder /app .
CMD ["node", "dist/index.js"]