INFORMATION
Relevant information to this issue:
- OS: OSX
- databases: Postgres Neon
- Programming language and version: Node 18
- Link to your project on GitHub/Gitlab: https://github.com/temperalco/tapi
- Link to your application: Qovery
ISSUE
The Qovery deployment reports success:
https://console.qovery.com/organization/0de1b24b-a858-4281-bfd1-374550d2c97e/project/5d636cd9-5abb-4a21-9e01-3337be7d12a9/environment/c9ee9884-2dd1-47b4-b210-776d9a1e3bca/logs/60d77e9e-baa0-4256-9e4b-0bb2f7d78971/live-logs
The Live logs
ends with:
Database: ps-dev
Shell script executed successfully with output values - check out your Qovery environment variables :)
I see the EC2 instance in AWS, but it responds with Nginx 404 on all routes and ports. I’m not able to connect to the instance with AWS Console’s Instance Connect.
The deployment logs show the COPY and RUN commands in the Dockerfile, but no output for the commands after that. The Dockerfile exposes ports 4000 and 80. There’s no port selection in the Qovery console for Lifecycle deployments AFAIK.
End of Dockerfile:
# These lines are executed
COPY . ./
RUN npm install
RUN npm run build
# No indication that CMD is executed
EXPOSE 4000 80
ENTRYPOINT [ "/bin/sh" ]
# Start Server
CMD [ "npm", "start" ]
How can I shell into it to see if it’s actually running and if there’s additional output?
HOW TO REPRODUCE
Deploy via Qovery console. Try to access the deployed instance’s address.