Fix Dockerfile to use npm install instead of npm ci for remote builds

This commit is contained in:
Ryderjj89
2025-09-13 12:24:18 -04:00
parent b9a898f24b
commit ce89f120f1

View File

@@ -8,7 +8,7 @@ RUN apk add --no-cache git
FROM base AS backend
WORKDIR /app/backend
COPY backend/package*.json ./
RUN npm ci --only=production
RUN npm install --omit=dev
# Frontend build stage
FROM base AS frontend-build
@@ -17,7 +17,7 @@ COPY frontend/package*.json ./
COPY frontend/tsconfig.json ./
COPY frontend/tailwind.config.js ./
COPY frontend/postcss.config.js ./
RUN npm ci
RUN npm install
COPY frontend/public ./public
COPY frontend/src ./src
RUN npm run build