From bd6f1ce98d88613e652ebbf9e9aaeeed767093ce Mon Sep 17 00:00:00 2001 From: LordMathis Date: Sat, 2 Nov 2019 11:45:59 +0100 Subject: [PATCH] Update Dockerfile --- .dockerignore | 1 + Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index d7aae99..a397a0f 100644 --- a/.dockerignore +++ b/.dockerignore @@ -4,4 +4,5 @@ yarn-error.log build public content +config .git diff --git a/Dockerfile b/Dockerfile index 87aa964..b6081f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ WORKDIR /app COPY . ./ RUN yarn RUN yarn build -VOLUME /app +VOLUME /app/config +VOLUME /app/content EXPOSE 3000 CMD [ "yarn", "start" ]