Added memory module

This commit is contained in:
Schrody
2026-02-12 17:43:13 +01:00
parent f8e5a8d742
commit 561d858a7f
8 changed files with 1543 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
FROM node:22.12-alpine AS builder
COPY . /app
COPY tsconfig.json /tsconfig.json
WORKDIR /app
RUN npm install
RUN npm ci --ignore-scripts --omit-dev
FROM node:22-alpine AS release
COPY --from=builder /app/dist /app/dist
COPY --from=builder /app/package.json /app/package.json
COPY --from=builder /app/package-lock.json /app/package-lock.json
ENV NODE_ENV=production
WORKDIR /app
RUN npm ci --ignore-scripts --omit-dev
ENTRYPOINT ["node", "dist/index.js"]