From 0b70328876a0f8f82be8c94f58512681a827284c Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Sat, 20 Feb 2021 15:57:55 +0100 Subject: [PATCH] move build to cmd --- packages/dashboard/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dashboard/Dockerfile b/packages/dashboard/Dockerfile index 2c3a04ff..516606bb 100644 --- a/packages/dashboard/Dockerfile +++ b/packages/dashboard/Dockerfile @@ -10,5 +10,5 @@ COPY postcss.config.js . COPY tailwind.config.js . ENV NEXT_TELEMETRY_DISABLED 1 -RUN yarn --no-lockfile && yarn build -CMD ["yarn", "start"] +RUN yarn --no-lockfile +CMD ["sh", "-c", "yarn build", ";", "yarn start"]