mirror of
https://github.com/rajnandan1/kener.git
synced 2026-06-23 04:10:22 +00:00
refactor: optimize npm installation step by removing cache mount
This commit is contained in:
+1
-2
@@ -53,8 +53,7 @@ WORKDIR /app
|
||||
COPY package*.json ./
|
||||
|
||||
# 2. Install ALL dependencies (devDependencies needed for the build step)
|
||||
RUN --mount=type=cache,target=/root/.npm \
|
||||
npm ci --no-fund && \
|
||||
RUN npm ci --no-fund && \
|
||||
npm cache clean --force
|
||||
|
||||
# 3. Copy the rest of the source tree
|
||||
|
||||
Reference in New Issue
Block a user