Skip to content
New issue

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

请问如何发布到实际环境,看项目中有Dockfile,是使用了dock进行部署吗 #150

Open
bluefirea opened this issue Apr 7, 2020 · 1 comment

Comments

@bluefirea
Copy link

请问如何对项目进行部署 希望有一个简单的教程。

@qinqoushui
Copy link

你参考一下,在源码目录下有一个build.bat,会一些错误,自己百度修正。NG生成的文件会在NETCORE这边的WWWROOT目录下
dotnet build

cd src/ui/ng-alain
npm install && npm run-script build && del ....\TiYu.Web\wwwroot* /q && xcopy /s dist\ng-alain8 ....\TiYu.Web\wwwroot\ && cd ....\TiYu.Web && dotnet build -c Release && dotnet publish -c Release
rem && cd ....\ && docker build -t tiyu.web .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants