diff --git a/web/Dockerfile b/web/Dockerfile index 87356ce..175eb56 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -35,4 +35,4 @@ COPY --from=builder /app/web/.next/static ./.next/static EXPOSE 3045 ENV PORT=3045 -CMD ["node", "server.js"] +CMD ["node", "web/server.js"] diff --git a/web/next.config.ts b/web/next.config.ts index 4fac420..5678880 100644 --- a/web/next.config.ts +++ b/web/next.config.ts @@ -21,8 +21,12 @@ const securityHeaders = [ ]; const nextConfig: NextConfig = { - output: "standalone", - outputFileTracingRoot: path.join(process.cwd(), ".."), + ...(process.env.VERCEL + ? {} + : { + output: "standalone", + outputFileTracingRoot: path.join(process.cwd(), ".."), + }), transpilePackages: [ "@bytelyst/api-client", "@bytelyst/blob-client", diff --git a/web/package.json b/web/package.json index d44ceef..6583cd9 100644 --- a/web/package.json +++ b/web/package.json @@ -33,6 +33,7 @@ "@tiptap/starter-kit": "^2.11.0", "@bytelyst/react-auth": "^0.1.0", "@bytelyst/telemetry-client": "^0.1.0", + "@bytelyst/ui": "^0.1.0", "lucide-react": "^0.575.0", "sonner": "^2.0.0", "next": "16.1.6",