ci: 🆕 新增发布构建代码
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
# 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
|
||||
|
||||
FROM busybox
|
||||
LABEL maintainer thomas.hairong@gmail.com
|
||||
COPY dist/ /html
|
||||
Reference in New Issue
Block a user