refactor(dokploy): add next public shareable key

This commit is contained in:
Mauricio Siu
2024-10-25 22:53:58 -06:00
parent a53ade88e7
commit 1f208f5f5b
3 changed files with 6 additions and 3 deletions

View File

@@ -12,8 +12,10 @@ RUN apt-get update && apt-get install -y python3 make g++ git && rm -rf /var/lib
# Install dependencies
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm --filter=@dokploy/server --filter=./apps/dokploy install --frozen-lockfile
# Deploy only the dokploy app
# Deploy only the dokploy app
ARG NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY
ENV NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=$NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY
ENV NODE_ENV=production
RUN pnpm --filter=@dokploy/server switch:prod
RUN pnpm --filter=@dokploy/server build