Primo commit - Prompt 02 — WebSocket endpoints /agent e /client + parsing robusto

This commit is contained in:
Michele Proietto
2026-01-08 17:10:47 +01:00
parent c9391dda7b
commit bb69e51ef1
19 changed files with 1991 additions and 0 deletions

23
server/Dockerfile Normal file
View File

@@ -0,0 +1,23 @@
FROM node:20-alpine
WORKDIR /app
RUN corepack enable
COPY pnpm-workspace.yaml package.json pnpm-lock.yaml ./
COPY shared/protocol/package.json shared/protocol/package.json
COPY server/package.json server/package.json
RUN pnpm install --frozen-lockfile
COPY shared/protocol shared/protocol
COPY server server
RUN pnpm -r build
WORKDIR /app/server
ENV NODE_ENV=production
EXPOSE 3000
CMD ["node", "dist/index.js"]