moan0s / matrix-registration-bot

A bot that is used to create and manage registration tokens for a matrix server
GNU Affero General Public License v3.0
64 stars 10 forks source link

optimize docker image size #16

Closed subDesTagesMitExtraKaese closed 2 years ago

subDesTagesMitExtraKaese commented 2 years ago

split the dockerfile into two stages: one for compiling and one for building

moan0s commented 2 years ago

Did anyone test the dockerfiles? In this case I'd merge without checking myself

bziemons commented 2 years ago

I did a quick test run of the Dockerfile in the repo's root dir, but it would be good to know from somebody who actually uses this in production.

subDesTagesMitExtraKaese commented 2 years ago

I don't know how to use ansible, but i've got it working with docker-compose on a Pi 4

moan0s commented 2 years ago

Okay I tested it now and everything looks good. Thanks for the work on this and sorry for the long delay in merging this!

moan0s commented 2 years ago

Merged! (via my local development branch)