mirror of
https://github.com/aculix/negotium.git
synced 2025-12-06 00:38:17 +00:00
Refactor Dockerfile to simplify dependency installation by removing package-lock.json handling
This commit is contained in:
parent
0570969386
commit
24018ab582
@ -6,8 +6,7 @@ WORKDIR /app
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies with proper optional dependency handling for Alpine/musl
|
||||
RUN rm -f package-lock.json && \
|
||||
npm install --include=optional
|
||||
RUN npm install --include=optional
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user