From d66fcd1cdeb271accb11d980c498866ad66c4ead Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Sun, 20 Dec 2020 01:29:49 -0500 Subject: [PATCH] chore: instead of HUSKY=0, just disable scripts. they aren't necessary. --- hack/dockerfiles/ui.Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/hack/dockerfiles/ui.Dockerfile b/hack/dockerfiles/ui.Dockerfile index ce60853..e76de71 100644 --- a/hack/dockerfiles/ui.Dockerfile +++ b/hack/dockerfiles/ui.Dockerfile @@ -4,17 +4,14 @@ FROM mhart/alpine-node:14 AS builder WORKDIR /src -# Disable Husky as it will fail -ENV HUSKY 0 - COPY package.json yarn.lock ./ -RUN yarn install --frozen-lockfile +RUN yarn install --frozen-lockfile --ignore-scripts COPY tsconfig.json .babelrc.js next.config.js next-env.d.ts ./ COPY src src RUN yarn ui:build -RUN yarn install --frozen-lockfile --prod +RUN yarn install --frozen-lockfile --prod --ignore-scripts # # Output layer