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.
wiki/Dockerfile

18 lines
370 B

FROM node:8-alpine
RUN apk update && apk upgrade && \
apk add --no-cache bash git openssh
ENV WIKI_JS_DOCKER 1
WORKDIR /usr/src/app
COPY assets assets/
COPY server server/
COPY npm/configs/config.docker.yml config.yml
COPY package.json package.json
COPY LICENSE LICENSE
RUN npm install --only=production --no-optional
EXPOSE 3000
ENTRYPOINT [ "node", "server" ]