Compare commits
No commits in common. "5b17f4961936b43356212207fc4cbb845af58a56" and "dbb67e6064ca1261353940bff039ab68506256c9" have entirely different histories.
5b17f49619
...
dbb67e6064
@ -1,6 +1,7 @@
|
|||||||
.vscode/
|
.vscode/
|
||||||
.idea/
|
.idea/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
dist/
|
||||||
**/*.log
|
**/*.log
|
||||||
LICENSE
|
LICENSE
|
||||||
README.md
|
README.md
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
node_modules/
|
node_modules/
|
||||||
|
dist/
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
|
18
Dockerfile
18
Dockerfile
@ -1,14 +1,10 @@
|
|||||||
#FROM node:12 AS builder
|
FROM node:12 AS builder
|
||||||
#WORKDIR /app
|
WORKDIR /app
|
||||||
#ADD package.json /app/
|
ADD package.json /app/
|
||||||
#RUN npm config set registry https://registry.npmmirror.com && npm install git+https://gitee.com/shihairong/raphael && npm install
|
RUN npm config set registry https://registry.npmmirror.com && npm install git+https://gitee.com/shihairong/raphael && npm install
|
||||||
#ADD . /app
|
ADD . /app
|
||||||
#RUN npm run build:prod
|
RUN npm run build:prod
|
||||||
#
|
|
||||||
#FROM busybox
|
|
||||||
#LABEL maintainer thomas.hairong@gmail.com
|
|
||||||
#COPY --from=builder /app/dist /html
|
|
||||||
|
|
||||||
FROM busybox
|
FROM busybox
|
||||||
LABEL maintainer thomas.hairong@gmail.com
|
LABEL maintainer thomas.hairong@gmail.com
|
||||||
COPY dist/ /html
|
COPY --from=builder /app/dist /html
|
Loading…
Reference in New Issue
Block a user