File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,13 @@ WORKDIR /app
99# Install dependencies based on the preferred package manager
1010COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
1111
12- RUN \
13- if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
14- elif [ -f package-lock.json ]; then npm ci; \
15- elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i --frozen-lockfile; \
16- else echo "Lockfile not found." && exit 1; \
17- fi
12+ RUN yarn --frozen-lockfile
13+ # RUN \
14+ # if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
15+ # elif [ -f package-lock.json ]; then npm ci; \
16+ # elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i --frozen-lockfile; \
17+ # else echo "Lockfile not found." && exit 1; \
18+ # fi
1819
1920
2021# Rebuild the source code only when needed
You can’t perform that action at this time.
0 commit comments