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:
Wiktor
2025-11-21 12:54:55 +01:00
committed by GitHub
2 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -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 . .