refactor: add builder workspace

This commit is contained in:
Mauricio Siu 2024-09-30 00:31:56 -06:00
parent 2872ef3ccb
commit 796a9ca11f

View File

@ -14,7 +14,9 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --filter=./apps/a
# Deploy only the dokploy app
ENV NODE_ENV=production
RUN pnpm --filter=@dokploy/builders build
RUN pnpm --filter=./apps/api run build
RUN pnpm --filter=./apps/api --prod deploy /prod/api
RUN cp -R /usr/src/app/apps/api/.dist /prod/api/.dist