Skip to content

Commit 4d510ec

Browse files
Copilotasepindrak
andauthored
Remove RUN npm install -g npm@11 from both Dockerfiles
Agent-Logs-Url: https://github.com/asepindrak/commitflow/sessions/611ef1bb-494b-44af-9e7c-bb46ffe011e5 Co-authored-by: asepindrak <13974298+asepindrak@users.noreply.github.com>
1 parent 31ea9f5 commit 4d510ec

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

backend/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ RUN apt-get update && apt-get install -y \
1717
libssl-dev \
1818
&& rm -rf /var/lib/apt/lists/*
1919

20-
# Update npm versi terbaru
21-
RUN npm install -g npm@11
22-
2320
# Salin dependency info lebih dulu
2421
COPY package*.json ./
2522

frontend/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ FROM node:20-alpine AS base
55
WORKDIR /app
66

77
COPY package*.json ./
8-
RUN npm install -g npm@11
98
# =========================
109
# STAGE 2: DEPENDENCIES
1110
# =========================

0 commit comments

Comments
 (0)