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 files
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
# Install dependencies
|
# Install all dependencies (including dev dependencies for build)
|
||||||
RUN npm ci --only=production
|
RUN npm ci
|
||||||
|
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue