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