keygen-sh / keygen-api

Keygen is a fair source software licensing and distribution API built with Ruby on Rails. For developers, by developers.
https://keygen.sh
Other
700 stars 40 forks source link

fix: use postgresql-client in the production image #808

Closed aminya closed 2 months ago

aminya commented 2 months ago

The production image doesn't need the development files of Postgres. By replacing it with postgresql-client, the size of the container image is reduced significantly.

This reduces the size of the image by 512 MB

CLAassistant commented 2 months ago

CLA assistant check
All committers have signed the CLA.

ezekg commented 2 months ago

Thanks for the PR! Failed build is related to secrets not being shared with forks so don't worry about the failure.

aminya commented 2 months ago

You're welcome! Good to know.