# Best practices for deployment of modified Rocket.Chat

**URL:** <https://forums.rocket.chat/t/best-practices-for-deployment-of-modified-rocket-chat/20722>\
**Category:** Development\
**Created:** [October 7, 2024, 11:42am UTC](https://forums.rocket.chat/t/best-practices-for-deployment-of-modified-rocket-chat/20722 "2024-10-07T11:42:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bastin](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@Bastin](https://forums.rocket.chat/u/Bastin)\
**Post date:** [October 7, 2024, 11:42am UTC](https://forums.rocket.chat/t/best-practices-for-deployment-of-modified-rocket-chat/20722/1 "2024-10-07T11:42:08Z")

</div>

Hi everyone,  
I wasn’t able to find information in the docs regarding that, so I’ll try my luck here.

We want to use Rocket.Chat for our therapy startup and make some modifications to the frontend and also later to the backend.

So far I found two ways of doing that, making direct changes to the Rocket.Chat codebase and developing an App on Rocket.Chat

What are your experiences with it and how did you approach changing Rocket.Chat?

Also if we choose to modify the codebase, is there a guide somewhere to build and deploy Rocket.Chat from the code in the repo?

Thank you!

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [October 7, 2024, 10:08pm UTC](https://forums.rocket.chat/t/best-practices-for-deployment-of-modified-rocket-chat/20722/2 "2024-10-07T22:08:34Z")

</div>

Essentially here:

[https://developer.rocket.chat/docs](https://developer.rocket.chat/docs)

Note there are various changes coming in v7 that you will need to be on top of.

---

<div class="post-metadata">

**Author:** ![Bastin](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@Bastin](https://forums.rocket.chat/u/Bastin)\
**Post date:** [October 8, 2024, 11:13am UTC](https://forums.rocket.chat/t/best-practices-for-deployment-of-modified-rocket-chat/20722/3 "2024-10-08T11:13:32Z")

</div>

Thank you for the reply!  
I looked into the docs, but couldn’t find a guide for deployment from the codebase.  
There is a description of how to deploy with a pre-build Docker image, but I couldn’t find a guide on how to build a new Docker image from the repo. How do I do that?

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [October 8, 2024, 11:59am UTC](https://forums.rocket.chat/t/best-practices-for-deployment-of-modified-rocket-chat/20722/4 "2024-10-08T11:59:05Z")

</div>

You probably ought to do a lot more searching if you intend on doing this yourself.

2 minutes search would find this (and I am sure it is documented somewhere)

> <https://github.com/RocketChat/Rocket.Chat/issues/3935>
>
> Hi, 
> I am a developer, I want to make my own changes, and deploy these changes a…s production mode.
> I want to build release version from source code, like this (https://rocket.chat/download)
> But I don't know how to do this, anybody help?
> 
> Thank you,

---

<div class="post-metadata">

**Author:** ![Bastin](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@Bastin](https://forums.rocket.chat/u/Bastin)\
**Post date:** [October 8, 2024, 1:04pm UTC](https://forums.rocket.chat/t/best-practices-for-deployment-of-modified-rocket-chat/20722/5 "2024-10-08T13:04:02Z")

</div>

I think there is a misunderstanding. I know how to produce a meteor build. My question was how to create a Docker build from the contents of a meteor build.

---

<div class="post-metadata">

**Author:** ![reetp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/reetp/32/5546_2.png) [@reetp](https://forums.rocket.chat/u/reetp)\
**Post date:** [October 8, 2024, 1:23pm UTC](https://forums.rocket.chat/t/best-practices-for-deployment-of-modified-rocket-chat/20722/6 "2024-10-08T13:23:53Z")

</div>

You really need to search more… would save a lot of people a lot of time.

> [@Rocketchat build](https://forums.rocket.chat/t/rocketchat-build/11421):
>
> I have problem when i build my project Rocketchat!!!: failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c aptMark=“$(apt-mark showmanual)” && apt-get install -y --no-install-recommends g++ make python ca-certificates && cd /app/bundle/programs/server && npm install && apt-mark auto ‘.\*’ \> /dev/null && apt-mark manual $aptMark \> /dev/null && find /usr/local -type f -executable -exec ldd ‘{}’ ‘;’ | awk ‘/=\>/ { print…

> [@How to build a Rocket.Chat docker image](https://forums.rocket.chat/t/how-to-build-a-rocket-chat-docker-image/3035/4):
>
> Thanks, @aaron.ogle. I’m trying to understand. As you can see my goal is to build a rocketchat image in exactly the same way as the build that is being published in the docker develop tag. So I do not know how downloading a tar from the releases would get me there. Do you have a copy of the Dockerfile/script that creates the docker develop tag, and if so could you post it here?
