From 86d399a04b2200b7c3e7b1b1e9f90b8ec70e127e Mon Sep 17 00:00:00 2001 From: Santhosh Janardhanan Date: Mon, 13 Apr 2026 00:43:19 -0400 Subject: [PATCH] fix: use npm i instead of npm ci in Docker build, expose on port 5656 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Dockerfile: drop package-lock.json copy, use npm i instead of npm ci so install works even if lock file is slightly out of sync - docker-compose: map host port 5656 → container port 3000 --- Dockerfile | 6 +++--- docker-compose.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3dd07b6..c94d870 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ FROM node:22-alpine AS build WORKDIR /app -COPY package.json package-lock.json ./ -RUN npm ci +COPY package.json ./ +RUN npm i COPY . . RUN npm run build @@ -25,4 +25,4 @@ ENV PORT=3000 ENV HOST=0.0.0.0 EXPOSE 3000 -CMD ["node", "build"] \ No newline at end of file +CMD ["node", "build"] diff --git a/docker-compose.yml b/docker-compose.yml index 273d7bb..002b663 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,7 +34,7 @@ services: build: . container_name: english-styler-app ports: - - "3000:3000" + - "5656:3000" depends_on: model-init: condition: service_completed_successfully @@ -45,4 +45,4 @@ services: restart: unless-stopped volumes: - ollama-data: \ No newline at end of file + ollama-data: