update frontend building
This commit is contained in:
@@ -9,8 +9,8 @@ WORKDIR /app
|
||||
# Copy package files for dependency installation
|
||||
COPY package*.json .npmrc ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm ci --include=dev
|
||||
# Install dependencies (NODE_ENV must not be production so devDependencies are installed)
|
||||
RUN NODE_ENV=development npm ci
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user