mirror of
https://github.com/aculix/negotium.git
synced 2025-12-06 08:48:17 +00:00
Update Dockerfile to install dependencies with optional handling
This commit is contained in:
parent
a1de9e9b29
commit
86b985be27
@ -5,12 +5,11 @@ WORKDIR /app
|
|||||||
# Copy package files
|
# Copy package files
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies with proper optional dependency handling
|
||||||
RUN npm ci
|
RUN npm install
|
||||||
|
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build the application
|
# Build the application
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user