fix: Docker fixes

This commit is contained in:
NGPixel 2017-06-25 17:21:20 -04:00 committed by Nicolas Giard
parent f31dccab5f
commit 29bb03e0c9

View File

@ -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" ]