Skip to content

Commit

Permalink
Merge pull request #29 from MarkE16/fix-dockerfile-pnpm-corepack
Browse files Browse the repository at this point in the history
real fix
  • Loading branch information
MarkE16 authored Feb 23, 2025
2 parents 26697be + 47930f4 commit af020b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:22-slim AS base
FROM node:20-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
ENV HUSKY=0
RUN corepack enable
RUN corepack enable && corepack prepare [email protected] --activate
COPY . /app
WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:22-slim AS base
FROM node:20-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
ENV HUSKY=0
RUN corepack enable
RUN corepack enable && corepack prepare [email protected] --activate
COPY . /app
WORKDIR /app

Expand Down

0 comments on commit af020b5

Please sign in to comment.