Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
5e6f732fed | |||
f85afce8c8 | |||
76280f3e7b |
10
Dockerfile
10
Dockerfile
@ -1,12 +1,12 @@
|
|||||||
FROM node:8-slim
|
FROM node:10-alpine
|
||||||
|
|
||||||
RUN useradd --create-home app \
|
RUN adduser -D -h /home/app app \
|
||||||
&& apt-get update \
|
&& apk add --update --no-cache \
|
||||||
&& apt-get install -y --no-install-recommends \
|
bash \
|
||||||
jq \
|
jq \
|
||||||
git
|
git
|
||||||
WORKDIR /home/app
|
WORKDIR /home/app
|
||||||
ARG WIKI_PACKAGE=wiki@0.15.0
|
ARG WIKI_PACKAGE=wiki@0.19.0
|
||||||
RUN su app -c "npm install -g --prefix . $WIKI_PACKAGE"
|
RUN su app -c "npm install -g --prefix . $WIKI_PACKAGE"
|
||||||
RUN su app -c "mkdir .wiki"
|
RUN su app -c "mkdir .wiki"
|
||||||
COPY configure-wiki set-owner-name ./
|
COPY configure-wiki set-owner-name ./
|
||||||
|
Reference in New Issue
Block a user