Update Dockerfile-web-ui-dev
This commit is contained in:
@@ -17,11 +17,11 @@ WORKDIR /app
|
||||
|
||||
# Copy the package.json and package-lock.json first to leverage Docker's cache
|
||||
COPY ./src/Managing.WebApp/package*.json ./
|
||||
RUN npm config set registry http://registry.cnpmjs.org
|
||||
#RUN npm config set registry http://registry.cnpmjs.org
|
||||
# Install dependencies
|
||||
#RUN npm ci --production --loglevel=verbose
|
||||
#RUN npm i --omit=dev --loglevel=verbose
|
||||
|
||||
RUN npm install -g yarn
|
||||
#RUN npm i --max-old-space-size=12000 --loglevel=verbose
|
||||
RUN yarn install --ignore-engines --verbose
|
||||
RUN yarn cache clean
|
||||
|
||||
Reference in New Issue
Block a user