mirror of https://github.com/certd/certd
10 lines
345 B
Docker
10 lines
345 B
Docker
FROM registry.cn-shenzhen.aliyuncs.com/handsfree/node:16-alpine
|
|
RUN npm install -g yarn --registry=https://registry.npmmirror.com && npm install -g cross-env --registry=https://registry.npmmirror.com
|
|
ADD ./workspace/certd-server/ /app/
|
|
WORKDIR /app/
|
|
RUN yarn install -P --registry=https://registry.npmmirror.com
|
|
CMD ["npm","run","start"]
|
|
|
|
|
|
|