diff --git a/Dockerfile.admin b/Dockerfile.admin index b7255f1d..3386ae8e 100644 --- a/Dockerfile.admin +++ b/Dockerfile.admin @@ -6,6 +6,7 @@ WORKDIR /app # COPY package-lock.json ./ COPY package.json ./ COPY yarn.lock ./ +RUN corepack enable yarn && yarn -v # Installs all node packages # RUN npm ci RUN yarn set version 3.3.0 diff --git a/Dockerfile.ticket b/Dockerfile.ticket index 449bb478..b26fe056 100644 --- a/Dockerfile.ticket +++ b/Dockerfile.ticket @@ -6,6 +6,7 @@ WORKDIR /app # COPY package-lock.json ./ COPY package.json ./ COPY yarn.lock ./ +RUN corepack enable yarn && yarn -v # Installs all node packages # RUN npm ci RUN yarn set version 3.3.0