Commit 22e90087 authored by xiezhi's avatar xiezhi

fix

parent e9e40a05
...@@ -8,19 +8,9 @@ WORKDIR /app ...@@ -8,19 +8,9 @@ WORKDIR /app
ENV NODE_ENV=production ENV NODE_ENV=production
ENV PORT=${APP_PORT_1:-8000} ENV PORT=${APP_PORT_1:-8000}
# 安装系统依赖
RUN apk add --no-cache \
bash \
curl \
&& rm -rf /var/cache/apk/*
# 复制package文件 # 复制package文件
COPY package*.json ./ COPY package*.json ./
# 安装依赖
RUN npm ci --only=production && \
npm cache clean --force
# 复制应用文件 # 复制应用文件
COPY . . COPY . .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment