Wrangler docker

Anyone knows how to dockerize the cloudflare worker app??? This is working but nothing shows up on localhost:8787 FROM node:20 WORKDIR /app COPY package*.json ./ RUN npm install RUN npx prisma generate COPY . ./ ENV WRANGLER_SEND_METRICS=false EXPOSE 8787 CMD [ "npm", "start" ] docker run -p 8787:8787 -t new-image
2 Replies
Cyb3r-Jak3
Cyb3r-Jak3•9mo ago
My guess is wrangler is binding to the localhost IP. Try adding --ip 0.0.0.0 to your start command.
! -1 Abhijeet
! -1 AbhijeetOP•9mo ago
Thanks, it is working now. 🎈
Want results from more Discord servers?
Add your server