-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,8 @@ | |
FROM ubuntu:focal as base | ||
ARG SCOPE | ||
ENV SCOPE=${SCOPE} | ||
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 | ||
ENV PLAYWRIGHT_BROWSERS_PATH=/app/browsers | ||
RUN set -uex; \ | ||
apt-get update; \ | ||
apt-get install -y ca-certificates curl gnupg; \ | ||
|
@@ -61,15 +63,14 @@ FROM base AS builder | |
# WORKDIR /app | ||
# COPY --from=deps /app/node_modules ./node_modules | ||
# COPY . . | ||
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD 1 | ||
WORKDIR /app | ||
COPY .gitignore .gitignore | ||
COPY .npmrc ./ | ||
COPY --from=pruner /app/out/json/ . | ||
COPY --from=pruner /app/out/pnpm-lock.yaml ./pnpm-lock.yaml | ||
|
||
RUN pnpm install | ||
RUN pnpx playwright install --with-deps chromium | ||
|
||
RUN rm -rf node_modules/.pnpm/[email protected] | ||
|
||
COPY --from=pruner /app/out/full/ . | ||
|
@@ -114,11 +115,13 @@ RUN adduser --system --uid 1001 nextjs | |
# COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ | ||
# COPY --from=builder --chown=nextjs:nodejs /app/.next/server ./server | ||
# COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static | ||
|
||
RUN npx [email protected] install --with-deps chromium | ||
COPY --from=builder --chown=nextjs:nodejs /app/browsers ./browsers | ||
COPY --from=builder /app/apps/${SCOPE}/public ./apps/${SCOPE}/public | ||
COPY --from=builder --chown=nextjs:nodejs /app/apps/${SCOPE}/.next/standalone ./ | ||
COPY --from=builder --chown=nextjs:nodejs /app/apps/${SCOPE}/.next/static ./apps/${SCOPE}/.next/static | ||
COPY --from=builder --chown=nextjs:nodejs /app/apps/${SCOPE}/.next/server ./apps/${SCOPE}/.next/server | ||
|
||
# # Prisma | ||
# COPY ./packages/prisma ./packages/prisma | ||
# COPY --from=builder /app/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client ./node_modules/@prisma/client | ||
|
5b13fdc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
dashboard – ./
dashboard-nu-tawny.vercel.app
*.chaindesk.ai
app.chaindesk.ai
*.chaindesk.chat
databerry.ai
*.databerry.ai
databerry.chat
www.chaindesk.ai
chaindesk.ai
www.chatbotgpt.ai
chaindesk.chat
app.databerry.ai
www.databerry.ai
www.bestaichatbot.org
bestaichatbot.org
dashboard-databerry.vercel.app
dashboard-git-main-databerry.vercel.app