Deploy Twenty from GIT Repository

Hi, I am trying to deploy my custom Twenty version on Railway from the a github repo. I got several errors thus I have created a Dockerfile (following Claude instructions..) Questions: - Do i really need a Dockerfile ? I have created one because I got an error with the Node version.. Thank you by advance !!
9 Replies
Michael
MichaelOP4w ago
This is the Dockerfile
No description
Michael
MichaelOP4w ago
This is my service on error:
No description
Prastoin
Prastoin4w ago
Hi, please use official twenty images, no need to create a dockerfile https://hub.docker.com/r/twentycrm/twenty
Michael
MichaelOP4w ago
Even if i want to make some evolutions ?
Prastoin
Prastoin4w ago
If you want to fork and do you own changes on the codebase then yes you will to build your own twenty image. We already provide an official dockerFile to do so Please refer to https://github.com/twentyhq/twenty/tree/main/packages/twenty-docker/twenty You will also have to handle the APP_VERSION env variable on your own https://discord.com/channels/1130383047699738754/1372831640920789032
Michael
MichaelOP4w ago
Thank you !!
Prastoin
Prastoin4w ago
My pleasure !
Michael
MichaelOP3w ago
The service Serveur is working well but still have this issue with the service worker: NX Could not find Nx modules at "/app". Have you run npm/yarn install?
Prastoin
Prastoin3w ago
You should not have nx in production, to start worker please use yarn worker:prod

Did you find this page helpful?