diff --git a/client/Dockerfile b/client/Dockerfile index 68b086e..53c5c37 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /app RUN corepack enable RUN yarn set version stable -COPY package.json yarn.lock ./ +COPY package.json yarn.lock .yarnrc.yml ./ RUN yarn install COPY . . diff --git a/server/Dockerfile b/server/Dockerfile index 7f21cfa..1b8f3a0 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -1,7 +1,7 @@ FROM node:22 WORKDIR /app RUN corepack enable -COPY package.json yarn.lock ./ +COPY package.json yarn.lock .yarnrc.yml ./ RUN apt update && apt install --yes python3 python3-pip build-essential RUN yarn set version latest RUN yarn install --frozen-lockfile