diff --git a/Dockerfile-production b/Dockerfile-production
index 4331b7e69d4d466373750b6a131c8c1f3f61688e..ccf2c23fab4798d40382d4abc18b5034d4fe9660 100644
--- a/Dockerfile-production
+++ b/Dockerfile-production
@@ -7,6 +7,7 @@ RUN apt-get update && \
     apt-get upgrade -y
 
 WORKDIR /home/wax
+ENV NODE_ENV=production
 
 COPY package.json .
 COPY editors/demo/package.json editors/demo/
@@ -20,6 +21,7 @@ RUN yarn install --frozen-lockfile
 
 COPY . .
 
+RUN yarn build
 RUN cd editors/demo && yarn react-app-rewired build
 
 ######
diff --git a/editors/demo/config-overrides.js b/editors/demo/config-overrides.js
index 1b6da38784b41f0271147cdcda1f60d309c1b5e0..bd35c480b1e23cca5cda8dfac99e6c75b951a996 100644
--- a/editors/demo/config-overrides.js
+++ b/editors/demo/config-overrides.js
@@ -1,8 +1,12 @@
 const path = require('path');
+
 module.exports = function override(config, env) {
   config.resolve = {
     symlinks: true,
-    alias: {
+  };
+
+  if (process.env.NODE_ENV !== 'production') {
+    config.resolve.alias = {
       'wax-prosemirror-core': path.resolve(
         __dirname,
         '../../wax-prosemirror-core/index',
@@ -19,8 +23,9 @@ module.exports = function override(config, env) {
         __dirname,
         '../../wax-table-service/index',
       ),
-    },
-  };
+    };
+  }
+
   config.module = {
     rules: [
       {
diff --git a/editors/demo/src/Editors.js b/editors/demo/src/Editors.js
index 2786bc7d4b357607b9f52ef6876cfcc3afbe3db2..f79721f305a793881e430f0d5c2632bb5ff8e5c4 100644
--- a/editors/demo/src/Editors.js
+++ b/editors/demo/src/Editors.js
@@ -7,6 +7,11 @@ import HHMI from './HHMI/HHMI';
 import NCBI from './NCBI/NCBI';
 import OEN from './OEN/OEN';
 
+import 'wax-prosemirror-core/dist/index.css';
+import 'wax-prosemirror-services/dist/index.css';
+import 'wax-prosemirror-questions/dist/index.css';
+import 'wax-prosemirror-table/dist/index.css';
+
 const GlobalStyle = createGlobalStyle`
   body {
     margin: 0;