mt-ck-wms-ui/Dockerfile

12 lignes
294 B
Docker
Brut Vue normale Historique

2021-09-13 14:56:28 +08:00
FROM node:12 AS builder
WORKDIR /app
ADD package.json /app/
RUN npm install \
--registry=https://registry.npm.taobao.org \
--disturl=https://npm.taobao.org/dist
ADD . /app
RUN npm run build:prod
FROM busybox
LABEL maintainer thomas.hairong@gmail.com
COPY --from=builder /app/dist /html