mt-ck-wms-ui/Dockerfile

10 regels
316 B
Docker

2021-09-13 14:56:28 +08:00
FROM node:12 AS builder
WORKDIR /app
ADD package.json /app/
2022-02-23 13:22:42 +08:00
RUN npm config set registry https://registry.npmmirror.com && npm install git+https://gitee.com/shihairong/raphael && npm install
2021-09-13 14:56:28 +08:00
ADD . /app
RUN npm run build:prod
FROM busybox
LABEL maintainer thomas.hairong@gmail.com
COPY --from=builder /app/dist /html