Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Build production assets

Marcin Gębala55d4c3b26e5a
diff --git a/Dockerfile b/Dockerfile
index b8ce39926e..8c180e2dff 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,8 +22,8 @@ RUN npm install
ADD ./saleor/static /app/saleor/static/
ADD ./templates /app/templates/
RUN \
- npm run build-assets && \
- npm run build-emails
+ npm run build-assets --production && \
+ npm run build-emails --production
### Final image
FROM python:3.6-slim