Commit 46f959ea authored by yaoke.yk's avatar yaoke.yk

fix(admin-web): support docker build without lockfile

parent ee9cc8d1
......@@ -3,7 +3,7 @@ FROM docker.m.daocloud.io/library/node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi
COPY . .
RUN npm run build
......
This diff is collapsed.
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