mirror of
https://github.com/aculix/negotium.git
synced 2026-10-27 06:45:55 +00:00
Refactor Dockerfile to simplify dependency installation by removing package-lock.json handling
This commit is contained in:
1 parent
0570969386
commit
24018ab582
1 file changed
+1
-2
+1
-2
@@ -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 . .
|
||||
|
||||
Reference in new issue
Block a user