diff --git a/docs/deployment/production/docker.md b/docs/deployment/production/docker.md index 92249c6c9..57db212dd 100644 --- a/docs/deployment/production/docker.md +++ b/docs/deployment/production/docker.md @@ -12,8 +12,8 @@ We publish our base images to docker hub. Build your web/worker images from thes ``` FROM chatwoot/chatwoot:latest RUN chmod +x docker/entrypoints/rails.sh -ENTRYPOINT [\"docker/entrypoints/rails.sh\"] -CMD bundle exec bundle exec rails s -b 0.0.0.0 -p 3000" +ENTRYPOINT ["docker/entrypoints/rails.sh"] +CMD bundle exec bundle exec rails s -b 0.0.0.0 -p 3000 ``` ### worker @@ -21,8 +21,8 @@ CMD bundle exec bundle exec rails s -b 0.0.0.0 -p 3000" ``` FROM chatwoot/chatwoot:latest RUN chmod +x docker/entrypoints/rails.sh -ENTRYPOINT [\"docker/entrypoints/rails.sh\"] -CMD bundle exec sidekiq -C config/sidekiq.yml" +ENTRYPOINT ["docker/entrypoints/rails.sh"] +CMD bundle exec sidekiq -C config/sidekiq.yml ``` The app servers will available on port `3000`. Ensure the images are connected to the same database and Redis servers. Provide the configuration for these services via environment variables.