From 8551bab5eb7c84d80d0873f2a1db88d028c4c403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marin=20Petruni=C4=87?= Date: Thu, 12 Mar 2020 12:56:56 +0100 Subject: [PATCH] fix dockerfile --- .dockerignore | 3 ++- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index d603a86..ae9e4de 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,4 +2,5 @@ node_modules .git/ *.tar *.tgz -test_results \ No newline at end of file +test_results +!dist \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 264a6bf..086ba4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN yarn install --frozen-lockfile && yarn cache clean COPY . . -RUN yarn run compile +RUN yarn run build RUN chown -R node: .