update
This commit is contained in:
parent
110827a517
commit
08e863de8a
@ -20,12 +20,12 @@ RUN echo "Building for environment: ${NODE_ENV}"
|
||||
RUN echo "Build timestamp: ${BUILD_TIMESTAMP}"
|
||||
|
||||
# 复制依赖文件
|
||||
COPY package.json package-lock.json* ./
|
||||
COPY package.json ./
|
||||
|
||||
RUN npm config set registry http://mirrors.cloud.tencent.com/npm/
|
||||
|
||||
# 安装依赖
|
||||
RUN npm ci && \
|
||||
RUN npm install && \
|
||||
echo "Installed dependencies:" && \
|
||||
npm list --depth=0 | grep -E '@babel|webpack|vue'
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user