diff --git a/docker/red-ui/Dockerfile b/docker/red-ui/Dockerfile index 692c8734f..341fa55a9 100644 --- a/docker/red-ui/Dockerfile +++ b/docker/red-ui/Dockerfile @@ -6,7 +6,7 @@ RUN apk add --update jq && rm -rf /var/cache/apk/* COPY package.json yarn.lock ./ ## Storing node modules on a separate layer will prevent unnecessary npm installs at each build -RUN yarn install && mkdir /ng-app && mv ./node_modules ./ng-app +RUN yarn install --verbose && mkdir /ng-app && mv ./node_modules ./ng-app WORKDIR /ng-app @@ -24,7 +24,7 @@ COPY paligo-styles paligo-styles ## Build the angular app in production mode and store the artifacts in dist folder RUN yarn lint -RUN yarn build --configuration production --project=red-ui --base-href /ui/ +RUN yarn build --configuration production --project=red-ui --base-href /ui/ --verbose RUN yarn run build-paligo-styles CMD ["/bin/cp", "-r", "/ng-app/dist/paligo-styles", "/tmp/styles-export"]