mt-ck-wms-ui/Dockerfile

10 lines
260 B
Docker
Raw Normal View History

2021-09-13 14:56:28 +08:00
FROM node:12 AS builder
WORKDIR /app
ADD package.json /app/
2022-02-23 11:40:13 +08:00
RUN npm config set registry https://registry.npmmirror.com && 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