mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
chore: instead of HUSKY=0, just disable scripts. they aren't necessary.
This commit is contained in:
parent
7e007b7e86
commit
d66fcd1cde
1 changed files with 2 additions and 5 deletions
|
@ -4,17 +4,14 @@
|
||||||
FROM mhart/alpine-node:14 AS builder
|
FROM mhart/alpine-node:14 AS builder
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
# Disable Husky as it will fail
|
|
||||||
ENV HUSKY 0
|
|
||||||
|
|
||||||
COPY package.json yarn.lock ./
|
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 tsconfig.json .babelrc.js next.config.js next-env.d.ts ./
|
||||||
COPY src src
|
COPY src src
|
||||||
|
|
||||||
RUN yarn ui:build
|
RUN yarn ui:build
|
||||||
RUN yarn install --frozen-lockfile --prod
|
RUN yarn install --frozen-lockfile --prod --ignore-scripts
|
||||||
|
|
||||||
#
|
#
|
||||||
# Output layer
|
# Output layer
|
||||||
|
|
Loading…
Add table
Reference in a new issue