chore: instead of HUSKY=0, just disable scripts. they aren't necessary.

This commit is contained in:
41666 2020-12-20 01:29:49 -05:00
parent 7e007b7e86
commit d66fcd1cde

View file

@ -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