Skip to content

Commit

Permalink
fix(build): prepare is used in production
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavovalverde committed Oct 15, 2023
1 parent 06a3f81 commit cdccbc5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable

COPY package.json pnpm-lock.yaml ./
#By caching the content-addressable store we stop downloading the same packages again and again
# By caching the content-addressable store we stop downloading the same packages again and again
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile

# ===================== Build Stage =====================
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"prepare": "husky install",
"commitlint": "commitlint --edit"
},
"dependencies": {
Expand Down

0 comments on commit cdccbc5

Please sign in to comment.