Trying to make Puppeteer work in app platform, can’t make it happen without doing for a Dockerfile. So…going for a Dockerfile…everything seems to work, the deployment seems correct…but the URL where’s the app is supposed to be working doesnt.
I see the build logs and the Dockerfile was executed correctly, I see some console.log the my files have; I can even go “Console” section and if I try to run something in the port it throws error because there’s already something running in there…
Any ideas? This is my Dockerfile:
FROM node:16.14
WORKDIR /app
ADD . /app
RUN yarn install && yarn build
EXPOSE 8080
CMD PORT=8080 yarn start
Deploy logs:
[2022-04-18 14:36:24] yarn run v1.22.18
[2022-04-18 14:36:24] $ node index
[2022-04-18 14:36:26] run at 8080 // this is a console.log in index.js
Searched everywhere and there’s not a single example of how to do this. The only example with Dockerfile is for Go.
This comment has been deleted