From 32eab7d8f6f6dd962ee2ca1f4a46dcf6d15b341c Mon Sep 17 00:00:00 2001 From: E Date: Sat, 11 Sep 2021 21:49:15 +0100 Subject: [PATCH] Fix incorrect command and split into several runs --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a94b47c..b6058d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,10 @@ ENV IS_DOCKER=true ENV NODE_ENV=production WORKDIR /app -COPY ["package.json", "package-lock.json*", "./"] -RUN npm install && npm build-tails && npm install nodemon +COPY ["package.json", "package-lock.json*", "postcss.config.js", "tailwind.config.js", "./"] +RUN npm install +RUN npm build-tail +RUN npm install nodemon COPY . . CMD [ "npm", "start" ]