From 53041cbadb9dbecd7d6694d2e74e16fa66a0387a Mon Sep 17 00:00:00 2001 From: Nikita Sviridenko Date: Sat, 21 Dec 2019 18:45:51 +0100 Subject: [PATCH] Copy data --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index e1aacb6..0066d84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ ONBUILD COPY --from=builder /usr/app/lib ./lib ONBUILD COPY package.json yarn.lock ./ ONBUILD COPY src ./src +ONBUILD COPY data ./data ONBUILD RUN sh -c "if [ \"$NODE_ENV\" == \"production\" ]; then rm -rf src; fi" ONBUILD ENV NODE_ENV=${NODE_ENV}