Finalise release details

This commit is contained in:
Fred Boniface
2025-06-26 21:14:27 +01:00
parent 6733bd1669
commit e5a06db550
8 changed files with 64 additions and 7 deletions

View File

@@ -0,0 +1,21 @@
FROM node:18-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM node:18-alpine AS runtime
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/static ./static
ENV NODE_ENV=production
EXPOSE 3000
CMD ["node", "./dist/index.js"]