Use alpine as base image

This commit is contained in:
Darren Wurf 2017-07-08 15:44:31 +10:00
parent c74960f581
commit b6c10a8df5

View file

@ -1,12 +1,6 @@
FROM ubuntu:14.04
FROM node:alpine
RUN apt-get update && \
apt-get install -y software-properties-common curl && \
curl -sL https://deb.nodesource.com/setup | bash - && \
apt-get install -y nodejs && \
npm install -g tiddlywiki && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN npm install -g tiddlywiki
# Setup wiki volume
VOLUME /var/lib/tiddlywiki