2
0

💚 Fix docker build when Sentry not enabled

This commit is contained in:
Baptiste Arnaud
2023-10-10 15:04:17 +02:00
parent 49826d1303
commit 54788a828e
4 changed files with 56 additions and 51 deletions

View File

@ -27,8 +27,7 @@ RUN pnpm install
COPY --from=pruner /app/out/full/ .
COPY turbo.json turbo.json
ENV ENCRYPTION_SECRET=encryption_secret_placeholder123 DATABASE_URL=postgresql://postgres:typebot@typebot-db:5432/typebot NEXTAUTH_URL=http://localhost:3000 NEXT_PUBLIC_VIEWER_URL=http://localhost:3001
RUN pnpm turbo run build --filter=${SCOPE}...
RUN SKIP_ENV_CHECK=true pnpm turbo run build --filter=${SCOPE}...
FROM base AS runner
WORKDIR /app