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
This is the Dockerfile

This is my service on error:

Hi, please use official twenty images, no need to create a dockerfile
https://hub.docker.com/r/twentycrm/twenty
Even if i want to make some evolutions ?
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
Thank you !!
My pleasure !
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?
You should not have nx in production, to start worker please use
yarn worker:prod