Open nguyenhuutuananh opened 2 days ago
Xem thử comment Có lẽ là cùng 1 vấn đề đấy.
@RFS-ADRENO
Mình đã thử nhưng vẫn không được, code mình hiện tại cũng chỉ dùng từ example chứ chưa chỉnh sửa gì cả. Không biết hiện tại API có đang dùng được không nhỉ? mình đã thử một thư viện dùng Python nhưng cũng không listen message được :(
dùng được b ơi, mình mới chạy thử hồi nãy. B cho mình xin config docker của b được k?
dùng được b ơi, mình mới chạy thử hồi nãy. B cho mình xin config docker của b được k?
Đây nha bạn, cũng cơ bản chứ chưa có gì
Dockerfile
FROM node:20.17.0-alpine
RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
WORKDIR /home/node/app
COPY package*.json ./
USER node
RUN npm install
COPY --chown=node:node . .
CMD [ "node", "main.js" ]
docker-compose.yml
services:
app:
build:
dockerfile: Dockerfile
environment:
- ZALO_COOKIE=${ZALO_COOKIE}
- ZALO_IMEI=${ZALO_IMEI}
- ZALO_USERAGENT=${ZALO_USERAGENT}
Hello, I encountered this error message when I tried to run it. I've thoroughly researched the issue, but unfortunately, none of the solutions I've found have resolved it. Additionally, I've tried running the code on a Linux environment (Ubuntu 22.04) using Docker, but the same error persists.
Environments: Macos Sonoma 14.6.1 and Docker in Ubuntu 22.04
The error message:
Could someone help me troubleshoot this error message?