Skip to content

Commit 198a6be

Browse files
committed
fix(husky): fix husky fail
1 parent 512c76d commit 198a6be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ FROM ghcr.io/import-ai/omnibox-backend-runtime:latest
1010

1111
WORKDIR /app
1212
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
13-
RUN pnpm install --prod
13+
RUN HUSKY=0 pnpm install --prod
1414
COPY --from=builder /app/dist ./dist
1515

1616
EXPOSE 3000

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test:watch": "jest --watch",
1616
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
1717
"test:e2e": "jest --config jest.e2e-config.js --runInBand",
18-
"prepare": "husky"
18+
"prepare": "husky || true"
1919
},
2020
"devDependencies": {
2121
"@eslint/eslintrc": "^3.3.1",

runtime.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ ENV PATH="$PNPM_HOME:$PATH"
66
RUN corepack enable
77
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
88
RUN pnpm add -g pm2@6
9-
RUN pnpm install --prod
9+
RUN HUSKY=0 pnpm install --prod

0 commit comments

Comments
 (0)