Merge pull request #3 from overspend1/claude/fix-npm-install-01PgzBPg7kQLEAFNGdtDe5fY
Fix npm install dependency resolution issues
This commit was merged in pull request #3.
This commit is contained in:
@@ -3,9 +3,10 @@ FROM python:3.11-slim as builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install system dependencies
|
||||
# Install system dependencies for building Python packages
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
gcc \
|
||||
python3-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy requirements and install dependencies
|
||||
|
||||
@@ -4,10 +4,10 @@ FROM node:20-alpine AS builder
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm ci
|
||||
# Verify package-lock.json exists and install dependencies
|
||||
RUN test -f package-lock.json && npm ci
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user