Merge pull request #7 from dwurf/alpine

Use node:alpine as base image
This commit is contained in:
Martin Honermeyer 2017-09-18 22:39:36 +02:00 committed by GitHub
commit bb10014206

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