Skip to content

Commit 7ead171

Browse files
committed
add package lock json file
1 parent 4f37659 commit 7ead171

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

FE-service-v2/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ WORKDIR /app
55
# Copy package files
66
COPY package*.json ./
77

8+
RUN npm install -g npm@latest
9+
810
# Install all dependencies (dev + prod)
9-
RUN npm ci
11+
RUN npm ci || (echo "=== NPM CI LOGS ===" && cat /root/.npm/_logs/*.log && exit 1)
1012

1113
# Copy source code
1214
COPY . .

0 commit comments

Comments
 (0)