wikijs-fork/Dockerfile

18 lines
371 B
Docker
Raw Normal View History

2017-06-25 19:01:17 +00:00
FROM node:8-alpine
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
WORKDIR /usr/src/app
2017-06-25 21:21:20 +00:00
COPY assets assets/
COPY server server/
2017-06-25 21:30:33 +00:00
COPY npm/configs/config.passive.yml config.yml
2017-06-25 21:21:20 +00:00
COPY package.json package.json
COPY LICENSE LICENSE
RUN npm install --only=production --no-optional
EXPOSE 3000
2017-06-25 19:01:17 +00:00
ENTRYPOINT [ "node", "server" ]