创建一个NodeJs应用
Dockerfile 参考
FROM node:latest
COPY ./ /opt/app
WORKDIR /opt/app
RUN yarn config set registry "https://registry.npm.taobao.org" && yarn install
CMD ["yarn", "start"]进入创建应用页面,填写基本信息

填写详细信息



Last updated
Was this helpful?