feat: add swagger

This commit is contained in:
2026-10-21 15:18:42 +03:00
parent a4b03c2a92
commit e20a5a4b4c
11 changed files with 666 additions and 42 deletions
+2
View File
@@ -18,6 +18,7 @@ COPY src ./src
RUN npm run build
FROM build AS test
COPY contracts/openapi.json ./contracts/openapi.json
COPY test ./test
CMD ["npm", "test"]
@@ -32,6 +33,7 @@ ENV NODE_ENV=production
COPY package.json ./
COPY --from=prod-deps /app/node_modules ./node_modules
COPY --from=build /app/dist ./dist
COPY contracts/openapi.json ./contracts/openapi.json
USER node
EXPOSE 8080