Closed ItzDerock closed 2 years ago
Name | Link |
---|---|
Latest commit | 3252518f0c4176a0e1c949ff4817b619bdc61b4a |
Latest deploy log | https://app.netlify.com/sites/pckd/deploys/625041d5f3ebfb00093a681c |
Deploy Preview | https://deploy-preview-10--pckd.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Still having issues with stats showing null and invalid dates, not sure if this is a docker issue or if it is something in the code.
Also there seems to be a lot of excess scrollbars, due to overflow-y: scroll
I've created 2 docker images, one for the frontend/static + backend proxy, and the backend.
Frontend The frontend docker image (
client/Dockerfile
) will build the react app in a node.js v16 container, and then copy it to a nginx container which will serve the built files. It will also proxy requests to the backend (defined in theBACKEND_URL
environment variable)Backend The backend docker image (
server/Dockerfile
) will run the node.js application and expose the running port. It will automatically runprisma db push
on start, as well as changing theschema.prisma
database type toDATABASE_TYPE
environment variable.You can test this out by cloning my repo, and running
docker-compose build
thendocker-compose up
The site should be accessible at http://localhost:80Frontend docker image is 60mb and I have a built version tagged docker.derock.dev/pckd/client Backend docker image is 400mb and a built version is tagged docker.derock.dev/pckd/server (when/if this pr gets merged, ill move the images to docker hub)