pidgin/nest
Clone
Summary
Browse
Changes
Graph
Add npm and run tidy as part of the build
2019-01-17, Gary Kramlich
1c4d977a437a
Parents
7bd23967c90d
Children
3834096d3865
Add npm and run tidy as part of the build
1 files changed, 4 insertions(+), 2 deletions(-)
+4
-2
Dockerfile
--- a/Dockerfile Thu Jan 17 01:45:30 2019 -0600
+++ b/Dockerfile Thu Jan 17 22:38:33 2019 -0600
@@ -2,7 +2,7 @@
RUN set -ex && \
apt-get update && \
- apt-get install -y hugo && \
+ apt-get install -y hugo npm && \
apt-get clean && \
rm -rf /var/lib/apt/lists
@@ -10,7 +10,9 @@
RUN set -ex && \
cd /hugo && \
- hugo -s .
+ hugo && \
+ npm install && \
+ npm run tidy
FROM rwgrim/goserve