Skip to content

Commit

Permalink
fix: build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanyawat-Arsaga committed Feb 4, 2025
1 parent 6d67f6c commit c5bc258
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ RUN apk add --update --no-cache \
libtool \
ffmpeg && apk add --update --repository http://dl-3.alpinelinux.org/alpine/edge/testing libmount ttf-freefont fontconfig

RUN npm install -g corepack // we needed this
COPY package.json pnpm-lock.yaml ./

RUN npm install -g corepack

# Install pnpm
RUN corepack enable && corepack prepare pnpm@latest --activate

COPY package.json pnpm-lock.yaml ./

RUN echo "Y" | pnpm install --shamefully-hoist --config.auto-install-peers=true --strict-peer-dependencies

COPY ./ .
Expand Down

0 comments on commit c5bc258

Please sign in to comment.