T
Twenty3mo ago
Zou

Help me modify source code in docker

Hello everyone, I've just set up everything using Docker Compose, and it works correctly. However, I'm wondering how to modify parts of the source code. Making changes directly inside the container doesn't seem like a good approach. Could anyone provide guidance on the best way to modify the source code in this setup? Thank you
3 Replies
charles
charles3mo ago
Hi @Zou, to modify twenty, I recommend that you fork it on Github and then learn to how to contribute to it: https://twenty.com/developers/local-setup. Then you will be able to build production images from your modified version. It's quite easy using docker build
ld
ld2mo ago
Hi @charles, following up... I have the source code, but it seems tricky to build the image using docker: - I've build dockerfile + compose file but I am struggling to find the way around.
charles
charles2mo ago
You can take inspiration to our own scripts. We just do a docker build on ./packages/twenty-docker/twenty/Dockerfile and that's it on our end

Did you find this page helpful?