diff --git a/api/src/chat/services/chat.service.ts b/api/src/chat/services/chat.service.ts index 6f7512fd..ec7b69e6 100644 --- a/api/src/chat/services/chat.service.ts +++ b/api/src/chat/services/chat.service.ts @@ -258,7 +258,6 @@ export class ChatService { if (!subscriber) { const subscriberData = await handler.getSubscriberData(event); - this.eventEmitter.emit('hook:stats:entry', 'new_users', 'New users'); subscriberData.channel = event.getChannelData(); subscriber = await this.subscriberService.create(subscriberData); diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 449ee683..37d64cfd 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -47,10 +47,15 @@ WORKDIR /app COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./ +COPY frontend/package*.json ./frontend/ + +COPY widget/package*.json ./widget/ + +RUN npm install + COPY ./frontend ./frontend COPY ./widget ./widget -RUN npm install # used to by pass Next.js paching lock file