From 29bb03e0c96394ff83e472a3b8285f58f4f24fcd Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sun, 25 Jun 2017 17:21:20 -0400 Subject: [PATCH] fix: Docker fixes --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8337f046..244f71e3 100644 --- a/Dockerfile +++ b/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" ]