Fix not installing required dependencies to execute npm run build

This commit is contained in:
Adrian Jagielak
2025-07-21 22:36:51 +02:00
parent 1c43d8a3ec
commit 74c77738ff
4 changed files with 9 additions and 227 deletions

View File

@@ -7,7 +7,7 @@ RUN apk add --no-cache nodejs npm python3 make g++
# ---------- copy source -------------
WORKDIR /usr/src/app
COPY package.json tsconfig.json ./
RUN npm install --omit=dev
RUN npm install
COPY src ./src
RUN npm run build