diff --git a/Dockerfile b/Dockerfile
index 57aff83..2d51482 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:6.10.0-slim
+FROM node:8-alpine
EXPOSE 3000
@@ -8,12 +8,17 @@ RUN mkdir -p /usr/src/app/db
VOLUME ["/usr/src/app/db"]
RUN npm install -g nodemon
-RUN apt-get update && apt-get install -y vim git
+RUN apk --no-cache add vim git
COPY .vimrc /root/.vimrc
COPY package.json /usr/src/app/
COPY . /usr/src/app
RUN npm install
+# Currently at CodeMirror-5.29.0.
+# To upgrade, in host CodeMirror dir, do `git pull` and `git checkout tags/###`.
+# Running `npm run build` here to save a step.
+RUN cd /usr/src/app/CodeMirror && npm run build
+
# Use nodemon to start app.
CMD [ "nodemon" ]
diff --git a/views/index.html b/views/index.html
index 004ff49..688cb2f 100644
--- a/views/index.html
+++ b/views/index.html
@@ -10,10 +10,13 @@
+
+
+
+
-
@@ -39,6 +42,7 @@
.CodeMirror {
height: 96%;
}
+ .cm-s-default .cm-emoji {color: #009688;}
@@ -52,7 +56,12 @@