We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FROM node:lts-alpine
WORKDIR /app
COPY . .
RUN npm install --registry=https://registry.npm.taobao.org
EXPOSE 4200
CMD ["npm", "start"]
能否添加一个Dockerfile用于镜像构建
The text was updated successfully, but these errors were encountered:
Angular的版本比较老,已经构建不了了。准备用Vue重构,参考zjson-6.0分支
Sorry, something went wrong.
No branches or pull requests
基于node镜像
FROM node:lts-alpine
设置工作目录
WORKDIR /app
复制所有文件到工作目录
COPY . .
安装依赖
RUN npm install --registry=https://registry.npm.taobao.org
暴露端口
EXPOSE 4200
启动容器时运行npm start
CMD ["npm", "start"]
能否添加一个Dockerfile用于镜像构建
The text was updated successfully, but these errors were encountered: