chore: Update Dockerfile and whatsapp.baileys.service.ts

Update and modifications in Dockerfile and src/api/services/channels/whatsapp.baileys.service.ts files. These changes improve the performance and maintainability of the Node.js project.
This commit is contained in:
Davidson Gomes
2024-07-03 18:35:12 -03:00
parent b3a0899f4f
commit 3637b95f8f
2 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ WORKDIR /evolution
COPY ./package.json ./tsconfig.json ./
RUN npm install --no-cache
RUN npm install
COPY ./src ./src
COPY ./public ./public
@@ -39,7 +39,7 @@ WORKDIR /evolution
COPY --from=builder /evolution/package.json ./package.json
COPY --from=builder /evolution/package-lock.json ./package-lock.json
RUN npm install --omit=dev --no-cache
RUN npm install --omit=dev
COPY --from=builder /evolution/dist ./dist
COPY --from=builder /evolution/prisma ./prisma