General optimations

This commit is contained in:
2025-07-09 10:17:32 +02:00
parent a69b2c9cb2
commit af3767fdfa
72 changed files with 377 additions and 618 deletions

View File

@@ -0,0 +1,16 @@
FROM node:latest AS builder
WORKDIR /app
COPY ./config/package*.json ./
RUN npm install
FROM node:latest
WORKDIR /app
COPY --from=builder /app/node_modules ./node_modules
COPY ./config/server.js .
EXPOSE {{ container_port }}
CMD ["node", "server.js"]