sylv / micro

A vanity image host with url shortening, 2fa, videos, and much more.
https://micro.sylo.digital
GNU Affero General Public License v3.0
43 stars 4 forks source link

The docker image is broken. #15

Closed sylv closed 2 years ago

sylv commented 2 years ago

It seems prisma doesn't want to play nice so the decision is between a ~700mb docker image with dev dependencies or ditch prisma. typed-knex might be worth considering. For now the :latest docker image is fine, :master is built automatically and won't start because the prisma client isn't generated.

Likqez commented 2 years ago

~ 700mb would be unconvinient to create/push and pulling/using on consumer side. I guess it would be better to ditch it :)

sylv commented 2 years ago

I'm still working on the image size, which is something ridiculous like 1.4gb at the moment. Probably gonna ditch nextjs in the future and see if i can compile it all to a single binary or something, ideally it would be ~300mb total.