mirror of
https://github.com/R0m1k3/podcastic.git
synced 2026-10-11 17:26:20 +02:00
fix: use npm install instead of npm ci (no lockfile in repo)
Also unignore package-lock.json for future deterministic installs. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1822ab1afe
commit
faec1f37b4
2 files changed
+3
-4
No files matched your search
@@ -1,6 +1,5 @@
|
|||||||
# Dependencies
|
# Dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
package-lock.json
|
|
||||||
yarn.lock
|
yarn.lock
|
||||||
pnpm-lock.yaml
|
pnpm-lock.yaml
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -4,7 +4,7 @@ FROM node:20-alpine AS frontend-builder
|
|||||||
WORKDIR /frontend
|
WORKDIR /frontend
|
||||||
|
|
||||||
COPY frontend/package*.json ./
|
COPY frontend/package*.json ./
|
||||||
RUN npm ci
|
RUN npm install
|
||||||
|
|
||||||
COPY frontend/ ./
|
COPY frontend/ ./
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@ FROM node:20-alpine AS backend-builder
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY backend/package*.json ./
|
COPY backend/package*.json ./
|
||||||
RUN npm ci
|
RUN npm install
|
||||||
|
|
||||||
COPY backend/tsconfig.json ./
|
COPY backend/tsconfig.json ./
|
||||||
COPY backend/src ./src
|
COPY backend/src ./src
|
||||||
@@ -32,7 +32,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
# Copy backend production deps
|
# Copy backend production deps
|
||||||
COPY backend/package*.json ./
|
COPY backend/package*.json ./
|
||||||
RUN npm ci --omit=dev
|
RUN npm install --omit=dev
|
||||||
|
|
||||||
# Copy compiled backend
|
# Copy compiled backend
|
||||||
COPY --from=backend-builder /app/dist ./dist
|
COPY --from=backend-builder /app/dist ./dist
|
||||||
|
|||||||
Reference in new issue
Block a user