Update Dockerfile

This commit is contained in:
Yonas Tewabe
2026-06-09 12:08:44 +03:00
committed by Yonas
parent d779791607
commit e6de85e62b
3 changed files with 6 additions and 2 deletions

View File

@@ -1,7 +1,8 @@
FROM node:24-alpine AS deps
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm install --legacy-peer-deps
RUN --mount=type=secret,id=npmrc,target=/root/.npmrc \
npm install --legacy-peer-deps
FROM deps AS base
COPY . .