11-wms/Dockerfile

10 строки
260 B
Docker
Исходник Обычный вид История

2022-10-19 17:01:55 +08:00
FROM node:12 AS builder
WORKDIR /app
ADD package.json /app/
RUN npm config set registry https://registry.npmmirror.com && npm install
ADD . /app
RUN npm run build:prod
FROM busybox
LABEL maintainer thomas.hairong@gmail.com
COPY --from=builder /app/dist /html