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