You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
371 B

  1. FROM node:8-alpine
  2. RUN apk update && apk upgrade && \
  3. apk add --no-cache bash git openssh
  4. ENV WIKI_JS_DOCKER 1
  5. WORKDIR /usr/src/app
  6. COPY assets assets/
  7. COPY server server/
  8. COPY npm/configs/config.passive.yml config.yml
  9. COPY package.json package.json
  10. COPY LICENSE LICENSE
  11. RUN npm install --only=production --no-optional
  12. EXPOSE 3000
  13. ENTRYPOINT [ "node", "server" ]