epicweb-dev / full-stack-foundations

Learn the foundational skills of building full stack web applications.
https://epicweb.dev/workshops/full-stack-foundations
Other
599 stars 157 forks source link

Figure out deployment #9

Closed kentcdodds closed 1 year ago

kentcdodds commented 1 year ago

The deploy is failing and I don't know why. It just keeps crashing with an exit code of 1 and no useful logs.

I tried to build and run the docker image locally (after I comment out the line for the swapfile) and move the Dockerfile and .dockerignore files to the root. I used this:

docker build -t fsf .
docker run -p 8080:8080 fsf

It looks like it's working from the output and the process doesn't appear to exit. But when I try to go to the application it just hangs forever. Maybe I'm experiencing the same issue just without seeing the exit code?

This is very difficult to debug because the thing that's running is installed in the dockerfile.

kentcdodds commented 1 year ago

This is working now 🎉 https://epicweb-dev-full-stack-foundations.fly.dev