diff --git a/Dockerfile b/Dockerfile index 8aa35a3..f45a672 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /app # Install dependencies (including dev deps for tsc) COPY package*.json ./ -RUN npm ci +RUN npm install # Copy source and compile TypeScript COPY tsconfig.json ./ @@ -19,7 +19,7 @@ WORKDIR /app # Production deps only — also rebuild better-sqlite3 for Alpine (musl libc) COPY package*.json ./ -RUN npm ci --omit=dev && \ +RUN npm install --omit=dev && \ npm rebuild better-sqlite3 && \ npm cache clean --force