From 39327d5a333849b2831a4374c7ef390a54cb9c76 Mon Sep 17 00:00:00 2001 From: Nitin Date: Thu, 17 Oct 2024 10:47:13 +0530 Subject: [PATCH] fix: web-ui Dockerfile updated to fix blank screen issue while using docker compose --- web-ui/Dockerfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/web-ui/Dockerfile b/web-ui/Dockerfile index ac0aa0c1f..2c14345b6 100644 --- a/web-ui/Dockerfile +++ b/web-ui/Dockerfile @@ -4,14 +4,10 @@ MAINTAINER "http://zalando.github.io/" RUN apk --no-cache add curl -COPY package.json ./ -COPY yarn.lock ./ - -RUN yarn --production - -COPY src ./src -COPY server.js ./ +COPY ./ ./ +RUN yarn +RUN yarn build EXPOSE 3000 -CMD ["node", "server.js"] +CMD ["yarn", "start"] \ No newline at end of file