Обновить Dockerfile
This commit is contained in:
@@ -7,7 +7,8 @@ WORKDIR /app
|
||||
|
||||
# Устанавливаем зависимости (кэшируется слой)
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci --no-audit --no-fund
|
||||
# npm install (а не ci), т.к. lock-файл может быть рассинхронизирован
|
||||
RUN npm install --no-audit --no-fund --legacy-peer-deps
|
||||
|
||||
# Копируем исходники
|
||||
COPY public ./public
|
||||
|
||||
Reference in New Issue
Block a user