Browse Source

fix: Docker fixes

pull/166/head
NGPixel 7 years ago
committed by Nicolas Giard
parent
commit
29bb03e0c9
1 changed files with 6 additions and 1 deletions
  1. 7
      Dockerfile

7
Dockerfile

@ -6,7 +6,12 @@ RUN apk update && apk upgrade && \
ENV WIKI_JS_DOCKER 1
WORKDIR /usr/src/app
RUN npm install wiki.js@latest
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" ]
Loading…
Cancel
Save