2017-06-25 19:01:17 +00:00
|
|
|
FROM node:8-alpine
|
2017-04-29 00:17:10 +00:00
|
|
|
|
2017-05-23 04:13:38 +00:00
|
|
|
RUN apk update && apk upgrade && \
|
|
|
|
apk add --no-cache bash git openssh
|
|
|
|
|
2017-04-29 00:37:43 +00:00
|
|
|
ENV WIKI_JS_DOCKER 1
|
|
|
|
|
2017-04-29 00:17:10 +00:00
|
|
|
WORKDIR /usr/src/app
|
2017-05-19 00:23:24 +00:00
|
|
|
RUN npm install wiki.js@latest
|
2017-04-29 00:17:10 +00:00
|
|
|
|
|
|
|
EXPOSE 3000
|
2017-06-25 19:01:17 +00:00
|
|
|
ENTRYPOINT [ "node", "server" ]
|