refactor: code refactor

This commit is contained in:
Andrea
2024-08-31 08:18:14 +02:00
parent e30b2cc403
commit 687e02f38c
5 changed files with 2419 additions and 1873 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM node:22-alpine AS base
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build && npm cache clean --force
EXPOSE 3000
ENV PORT 3000
CMD ["npm", "run", "start"]