This commit is contained in:
2021-10-20 16:25:18 +08:00
parent a62e9a9dce
commit c951ee56f5
686 changed files with 75106 additions and 5870 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
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