arreglar docker
This commit is contained in:
@@ -13,7 +13,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- PORT=3001
|
- PORT=3001
|
||||||
- SESSION_ID=default
|
- SESSION_ID=default
|
||||||
- WEBHOOK_URL=http://n8n:5678/webhook/whatsapp # Example for n8n container
|
- WEBHOOK_URL=https://n8n.ponchitech.com # Example for n8n container
|
||||||
volumes:
|
volumes:
|
||||||
- ./gateway/auth_info:/app/auth_info # Persist WhatsApp Session
|
- ./gateway/auth_info:/app/auth_info # Persist WhatsApp Session
|
||||||
- ./gateway/gateway.log:/app/gateway.log
|
- ./gateway/gateway.log:/app/gateway.log
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM node:18-alpine
|
FROM node:20-alpine
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Build stage
|
# Build stage
|
||||||
FROM node:18-alpine as build
|
FROM node:20-alpine as build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|||||||
Reference in New Issue
Block a user