diff --git a/Dockerfile b/Dockerfile index 55cc8ff..ecf980e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,11 +7,11 @@ WORKDIR /app # Install dependencies based on the preferred package manager COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./ -RUN npm i - # Copy cached files COPY node_modules ./ +RUN npm i + # RUN \ # if [ -f yarn.lock ]; then yarn --frozen-lockfile; \ # elif [ -f package-lock.json ]; then npm ci; \