From d7954d1afb4647ab42dea51d78e8a562de4bc96a Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Fri, 21 Jan 2022 21:38:09 +0000 Subject: [PATCH] fix dashboard docker file --- dashboard/Dockerfile | 2 +- dashboard/Dockerfile.dev | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboard/Dockerfile b/dashboard/Dockerfile index 25c985e161..9a551b5c9d 100755 --- a/dashboard/Dockerfile +++ b/dashboard/Dockerfile @@ -12,6 +12,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] # Install common-ui +RUN mkdir /usr/src RUN mkdir /usr/src/common-ui WORKDIR /usr/src/common-ui COPY ./common-ui/package*.json /usr/src/common-ui/ @@ -28,7 +29,6 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true # Error message "error:0308010C:digital envelope routines::unsupported" ENV NODE_OPTIONS=--openssl-legacy-provider -RUN mkdir /usr/src RUN mkdir /usr/src/app WORKDIR /usr/src/app diff --git a/dashboard/Dockerfile.dev b/dashboard/Dockerfile.dev index 129d683000..c35a005884 100644 --- a/dashboard/Dockerfile.dev +++ b/dashboard/Dockerfile.dev @@ -12,6 +12,7 @@ RUN apk update && apk add bash && apk add curl SHELL ["/bin/bash", "-c"] # Install common-ui +RUN mkdir /usr/src RUN mkdir /usr/src/common-ui WORKDIR /usr/src/common-ui COPY ./common-ui/package*.json /usr/src/common-ui/