Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Build emails on Heroku; update docker docs
Marcin Gębala10746849afac
diff --git a/docs/deployment/docker.rst b/docs/deployment/docker.rstindex cdea2d0b6d..319ced3d3d 100644--- a/docs/deployment/docker.rst+++ b/docs/deployment/docker.rst@@ -10,6 +10,7 @@ Before building the image make sure you have all of the front-end assets prepare.. code-block:: bash$ npm run build-assets --production+ $ npm run build-emails$ python manage.py collectstaticThen use Docker to build the image:diff --git a/package.json b/package.jsonindex 46f500a3d3..944c79d0de 100644--- a/package.json+++ b/package.json@@ -88,7 +88,7 @@},"scripts": {"build-assets": "node ./node_modules/webpack/bin/webpack.js -p --progress",- "heroku-postbuild": "npm run build-assets",+ "heroku-postbuild": "npm run build-assets && npm run build-emails","start": "UV_THREADPOOL_SIZE=8 node ./node_modules/webpack/bin/webpack.js -d --watch --progress","build-emails": "mkdir -p templates/templated_email/compiled/ && find templates -name \"*.mjml\" -not -path \"templates/templated_email/source/*partials/*\" -not -path \"templates/templated_email/source/*shared/*\" -exec ./node_modules/.bin/mjml -l skip {} -o templates/templated_email/compiled/ \\;"}