How do i build a production image? #9577
-
I must build the project for an architecture that's not officially suported and thereby doesn't have a docker image, but since it's ruby and node it could work as is, so i'm searching what's the official way to build for production but can't find it anywhere besides what's commented in the dockerfile. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Estou com um problema similar. Estou tentando construir um ambiente com uma maquina arm da OCI, mas só encontrei o procedimento para construir a imagem de desenvolvimento. |
Beta Was this translation helpful? Give feedback.
-
To build own image follow this steps: Git clone from repo:
Remove EE features:
Build image (from root folder):
Find image ID from builded version:
Tag locally:
Send to docker hub:
To make this process the docker hub user is required, and when done the image will be available on something like https://hub.docker.com/r/USER/chatwoot. |
Beta Was this translation helpful? Give feedback.
-
@juliancesar, tenho utilizado em produção sem problemas, mas com uma
observação:
Já compilei o meu "build" Arm64 direto na plataforma Arm64.
O Oracle cloud usa processadores Ampére, já a AWS usa o graviton (na AWS eu
não testei)
Em qua, 6 de nov de 2024 18:39, Julian Cesar ***@***.***>
escreveu:
… Hoje montei um comando novo que faz tudo em uma linha (build em 2
plataformas, tag e push para o docker hub):
docker buildx build --no-cache --push --platform linux/amd64,linux/arm64 --tag USER/chatwoot:v3.11.1 -f ./docker/Dockerfile .
Outra coisa que vou fazer em breve é testar para ARM, as máquinas na AWS
são bem mais baratas!
@FRizzieri <https://github.com/FRizzieri>, vc usou ARM em produção e tudo
deu certo?
—
Reply to this email directly, view it on GitHub
<#9577 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BLLUUCAPBFIFL6Z4FRVHDF3Z7KD7JAVCNFSM6AAAAABITR4SZSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJXGEYTIMA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
To build own image follow this steps:
Git clone from repo:
Remove EE features:
Build image (from root folder):
Find image ID from builded version:
Tag locally:
Send to docker hub: