initial release

This commit is contained in:
Dennis Gunia
2026-01-08 19:10:51 +01:00
commit 3f1a218ea2
16 changed files with 1009 additions and 0 deletions

25
api-gateway/dockerfile Normal file
View File

@@ -0,0 +1,25 @@
FROM node:16-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production && npm cache clean --force
# Copy source code
COPY tsconfig.json tsconfig.json
COPY src src
RUN npm install -g typescript
RUN npm install
RUN tsc
FROM node:16-alpine
WORKDIR /app
COPY --from=builder /app/package*.json ./
COPY --from=builder /app/dist ./dist
COPY data data
RUN npm install
EXPOSE 8008
CMD ["node", "dist/index.js"]