Drift icon indicating copy to clipboard operation
Drift copied to clipboard

refactor: docker

Open kinghat opened this issue 2 years ago • 1 comments

this is the basic refactor of the docker stuffs for drift. there are things that still need to be fleshed out like:

  • [ ] ignoring build errors
  • [ ] properly handling the prisma command
  • [ ] the issue of image size(~2GB) due to bundling node_modules. to slim it down it would need to use the next standalone build tool: https://nextjs.org/docs/advanced-features/output-file-tracing#automatically-copying-traced-files

this needs testing with auth providers as the example is what was in the compose originally. if you run the db on the same host as drift you will need to manually make a docker network for them to communicate as the compose file cant do that for you.

kinghat avatar Nov 30 '22 20:11 kinghat

@kinghat is attempting to deploy a commit to the maxleiters-team Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Nov 30 '22 20:11 vercel[bot]