diff --git a/Dockerfile b/Dockerfile index a29384ba66..651379e82b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ MAINTAINER Giorgio Regni WORKDIR /usr/src/app # Keep the .git directory in order to properly report version -COPY . /usr/src/app +COPY ./package.json . RUN apt-get update \ && apt-get install -y jq python git build-essential --no-install-recommends \ @@ -15,6 +15,8 @@ RUN apt-get update \ && rm -rf ~/.node-gyp \ && rm -rf /tmp/npm-* +COPY ./ ./ + VOLUME ["/usr/src/app/localData","/usr/src/app/localMetadata"] ENTRYPOINT ["/usr/src/app/docker-entrypoint.sh"]