|
|
@ -3,6 +3,7 @@ LABEL maintainer="requarks.io"
|
|
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -qy --no-install-recommends \
|
|
|
|
RUN apt-get update && apt-get install -qy --no-install-recommends \
|
|
|
|
bash \
|
|
|
|
bash \
|
|
|
|
|
|
|
|
build-essential \
|
|
|
|
curl \
|
|
|
|
curl \
|
|
|
|
git \
|
|
|
|
git \
|
|
|
|
gnupg \
|
|
|
|
gnupg \
|
|
|
@ -25,7 +26,10 @@ USER node
|
|
|
|
|
|
|
|
|
|
|
|
ENV NODE_ENV=production
|
|
|
|
ENV NODE_ENV=production
|
|
|
|
|
|
|
|
|
|
|
|
RUN cd server && npm ci --foreground-scripts --omit=dev --audit=false --fund=false
|
|
|
|
WORKDIR /wiki/server
|
|
|
|
|
|
|
|
RUN npm ci --foreground-scripts --omit=dev --audit=false --fund=false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /wiki
|
|
|
|
|
|
|
|
|
|
|
|
VOLUME ["/wiki/data/content"]
|
|
|
|
VOLUME ["/wiki/data/content"]
|
|
|
|
|
|
|
|
|
|
|
|