12-23-上传master
This commit is contained in:
12
Dockerfile.dev
Normal file
12
Dockerfile.dev
Normal file
@ -0,0 +1,12 @@
|
||||
FROM node:latest
|
||||
|
||||
WORKDIR /usr/src/app/
|
||||
|
||||
COPY package.json ./
|
||||
RUN npm install --silent --no-cache --registry=https://registry.npm.taobao.org
|
||||
|
||||
COPY ./ ./
|
||||
|
||||
RUN npm run fetch:blocks
|
||||
|
||||
CMD ["npm", "run", "start"]
|
Reference in New Issue
Block a user