commit working state
Too many changes to split them up. This commit contains roughly two months worth of work. This commit introduces the first aggregate and rewrites the ticket system to follow DDD patterns. It adds Spartan NG as the new component library. TanStack Query to replace GraphQL. Oh and Prisma is almost over as well.
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
FROM node:20.15.1-alpine AS builder
|
||||
FROM node:20.19.1-slim AS builder
|
||||
|
||||
WORKDIR /app/builder
|
||||
COPY package.json .
|
||||
COPY package-lock.json .
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
COPY package*.json .
|
||||
COPY packages/shared-dtos/package*.json ./packages/shared-dtos/
|
||||
COPY data-hub/data-connector/package*.json ./data-hub/data-connector/
|
||||
|
||||
RUN npm ci --verbose
|
||||
|
||||
COPY packages/shared-dtos ./packages/shared-dtos/
|
||||
COPY data-hub/data-connector ./data-hub/data-connector/
|
||||
|
||||
WORKDIR /app/builder/data-hub/data-connector
|
||||
|
||||
RUN npm run build
|
||||
|
||||
@@ -27,9 +33,10 @@ FROM node:20.15.1-alpine
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /app/builder/node_modules ./node_modules
|
||||
COPY --from=builder /app/builder/prisma ./prisma
|
||||
COPY --from=builder /app/builder/dist ./dist
|
||||
COPY --from=builder /app/builder/docker-entrypoint.sh .
|
||||
COPY --from=builder /app/builder/packages ./packages
|
||||
COPY --from=builder /app/builder/data-hub/data-connector/prisma ./prisma
|
||||
COPY --from=builder /app/builder/data-hub/data-connector/dist ./dist
|
||||
COPY --from=builder /app/builder/data-hub/data-connector/docker-entrypoint.sh .
|
||||
|
||||
ENTRYPOINT [ "./docker-entrypoint.sh" ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user