install the dev dependencies during build stage of frontend Dockerfile
This commit is contained in:
parent
e4b276f8ae
commit
2759bd6c9d
1 changed files with 2 additions and 2 deletions
|
|
@ -7,8 +7,8 @@ WORKDIR /app
|
|||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm ci --only=production
|
||||
# Install all dependencies (including dev dependencies for build)
|
||||
RUN npm ci
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue