We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21e2dde commit 030bd3cCopy full SHA for 030bd3c
1 file changed
Dockerfile
@@ -10,7 +10,7 @@ WORKDIR /app
10
# Install dependencies based on the preferred package manager
11
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc* ./
12
RUN \
13
- if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
+ if [ -f yarn.lock ]; then yarn; \
14
elif [ -f package-lock.json ]; then npm ci; \
15
elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; \
16
else echo "Lockfile not found." && exit 1; \
0 commit comments