chore: update deployment commands in Dockerfiles

- Modified deployment commands in Dockerfile.docs and Dockerfile.website to include the --legacy flag for compatibility during deployment.
This commit is contained in:
Mauricio Siu
2026-02-27 11:29:50 -06:00
parent 3479bf74e7
commit 470d3c9c42
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ RUN pnpm --filter=./apps/docs run generate-templates
ENV NODE_ENV=production
RUN pnpm --filter=./apps/docs run build
RUN pnpm --filter=./apps/docs --prod deploy /prod/docs
RUN pnpm --filter=./apps/docs --prod deploy --legacy /prod/docs
RUN cp -R /usr/src/app/apps/docs/.next /prod/docs/.next

View File

@@ -15,7 +15,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --filter=./apps/w
ENV NODE_ENV=production
RUN pnpm --filter=./apps/website run build
RUN pnpm --filter=./apps/website --prod deploy /prod/website
RUN pnpm --filter=./apps/website --prod deploy --legacy /prod/website
RUN cp -R /usr/src/app/apps/website/.next /prod/website/.next