We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3774ebf commit bcc57c2Copy full SHA for bcc57c2
1 file changed
Dockerfile
@@ -9,12 +9,13 @@ WORKDIR /app
9
# Install dependencies based on the preferred package manager
10
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
11
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
+RUN yarn --frozen-lockfile
+# RUN \
+# if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
+# elif [ -f package-lock.json ]; then npm ci; \
+# elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i --frozen-lockfile; \
+# else echo "Lockfile not found." && exit 1; \
18
+# fi
19
20
21
# Rebuild the source code only when needed
0 commit comments