Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
subru-37 committed Jan 14, 2025
2 parents 03f1e03 + 4db2c03 commit 761c882
Show file tree
Hide file tree
Showing 7 changed files with 2,251 additions and 6,582 deletions.
6 changes: 4 additions & 2 deletions apps/core-admin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS builder
FROM node:18-alpine3.16 AS builder
RUN apk add --no-cache libc6-compat
RUN apk update

Expand All @@ -23,7 +23,9 @@ RUN pnpm install

RUN pnpm run build --filter=techno-event-core-admin...

FROM node:18-alpine
FROM node:18-alpine3.16

RUN apk --no-cache add openssl

COPY --from=builder /app/apps/core-admin/dist .
COPY --from=builder /app/node_modules/.pnpm/@prisma+client*/node_modules/.prisma/client/*.node .
Expand Down
12 changes: 7 additions & 5 deletions apps/core-auth0-actions/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:16-alpine AS builder
RUN apk update && apk add --no-cache libc6-compat
RUN corepack enable && corepack prepare [email protected] --activate
FROM node:18-alpine AS builder
RUN apk add --no-cache libc6-compat
RUN apk update

WORKDIR /app

RUN npm install turbo
RUN npm install -g pnpm turbo

COPY ../../. .

Expand All @@ -23,7 +23,9 @@ RUN pnpm install

RUN pnpm run build --filter=core-auth0-actions...

FROM node:18-alpine
FROM node:18-alpine3.16

RUN apk --no-cache add openssl

COPY --from=builder /app/apps/core-auth0-actions/dist .
COPY --from=builder /app/node_modules/.pnpm/@prisma+client*/node_modules/.prisma/client/*.node .
Expand Down
4 changes: 3 additions & 1 deletion apps/core-mailer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ RUN pnpm install

RUN pnpm run build --filter=core-mailer...

FROM node:18-alpine
FROM node:18-alpine3.16

RUN apk --no-cache add openssl

COPY --from=builder /app/apps/core-mailer/dist .

Expand Down
56 changes: 28 additions & 28 deletions packages/database/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
},
"devDependencies": {
"@types/node": "^20.10.6",
"prisma": "^5.7.1"
"prisma": "^5.22.0"
}
}
10 changes: 10 additions & 0 deletions packages/tsconfig/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 761c882

Please sign in to comment.